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.
- 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.
Wait for condition, Act by Interaction, Assert the result.
click()
- click on element when it visible and scrolled in to the view;scroll_to()
- easy scroll to the element when necessary;fill_form()
- fill form with many fields without repetitive;switch_to_window()
- work with multiply browser windows without any issues;- ...
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()
- ...
see()
dont_see()
see_text()
see_in_title()
- ...
Minimal required methods for scrapping some data:
get_text_from_element()
get_attribute_from_element()
get_cookie()
save_data_to_txt()
And much more! Check list of all available - Actions
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.
pip install vigilant-kit