Tools to make certain selenium tasks more straightforward.
Project description
selenium_helpers
Helpful utilities and wrappers for Selenium work.
There are two key utilities in here -
Click
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)
Wait Until
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')
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
selenium-helpers-1.0.4.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for selenium_helpers-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9662979565421ad5a94b52408b644f89306967527d933cd62c47dc20d59bc7e |
|
MD5 | 1b41a1524add0cc10870fdbf0e75e50d |
|
BLAKE2b-256 | 5c301914ee7493d0753cd989dc89e6a8ce9be9fca50415602749f3e249759be7 |