Skip to main content

Library that makes functional testing with Selenium WebDriver fast and easy.

Project description

Vigilant Kit

Vigilant is a set of tools designed to help write and run robust functional tests using Selenium WebDriver. With Vigilant, you can start writing complex test cases in a minute.

Why Vigilant?

  • Easy to start & Fast To Write: All methods for interaction, waiting different conditions and asserting the results are already here.
  • No limits: You are not limited to a single testing framework, use Vigilant with unittest, pytest, or for scrapping data.
  • Stability: We use Selenium WebDriver. It is a W3C standard.

What included?

Wait for condition, Act by Interaction, Assert the result.

Actions

  • click()
  • scroll_to()
  • fill_form()
  • switch_to_window()
  • ...

Waiters for condition

  • wait_for_element_to_be_visible()
  • wait_for_element_to_be_clickable()
  • wait_for_text_to_be_present_in_element()
  • wait_for_element_to_disappear()
  • ...

Assertions

  • see()
  • dont_see()
  • see_text()
  • see_in_title()
  • ...

Scrappers

Minimal required methods for scrapping some data:

  • get_text_from_element()
  • get_attribute_from_element()
  • get_cookie()
  • save_data_to_txt()

Test PDF

You're testing some eCommerce project, and you need to check your PDF invoice file? No problem!

  • find_pdf_file(),
  • assert_strings_in_pdf(),
  • assert_strings_not_in_pdf(),
  • find_file_and_assert_strings_are_in(),
  • ...

And much more! Check list of all available - Actions

Extending Functionality

If you need something that is not covered in this library, you still have access to all native Selenium WebDriver methods. You can create your own methods or use native WebDriver methods and share them on one browser session.

Install

pip install vigilant-kit

Docs

Configuration

Examples & tutorials

Actions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vigilant_kit-1.4.6.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

vigilant_kit-1.4.6-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file vigilant_kit-1.4.6.tar.gz.

File metadata

  • Download URL: vigilant_kit-1.4.6.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for vigilant_kit-1.4.6.tar.gz
Algorithm Hash digest
SHA256 cc2ed60f9bf0391231c67e63fe2c0870f7610d67ea1ee9f8cb9154bd5b591b7c
MD5 ae1c5ceb1d8c4ac64e15f7b3ed1c4438
BLAKE2b-256 5db7c43a95cd105298ef90c538a530b87a9dfd48d0810d0f705abca4af5c0a65

See more details on using hashes here.

File details

Details for the file vigilant_kit-1.4.6-py3-none-any.whl.

File metadata

  • Download URL: vigilant_kit-1.4.6-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for vigilant_kit-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6edb1d76e74b229d2d15f248aed8a80f716d2f296966192b430025ca0f4a16
MD5 e5ef54aa7ab3b86fa6d905dc951c5f7c
BLAKE2b-256 7e0fbfe3472a517b8f7667090563001e6dff39f37fbcf19400510e31100649c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page