Helpful utilities and wrappers for Selenium work.
There are two key utilities in here -
Used to resolve issues caused while clicking an element. Very often, elements are overlayed in such a way that a click isn't as simple as it should be.
This addresses that; simple call it with -
click(driver, element)
Allows you to wait until some condition is met.
The following conditions are supported -
- Title Is
- Title Contains
- URL Matches
- URL Is
- URL Contains
- You Find
- You Find All
- You Find Text
- You Find Button Text
- You Find All Text
- You Find Placeholder
- You Don't Find
wait_until(driver, 'title is', 'Google')