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_unti(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.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for selenium_helpers-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70f78f0ac9193a46bb5ab595f3794c6b7f4f2ffb1e18abaa7ae69f69bdf7a58f |
|
MD5 | 1fe7f53d78e60039ec4039dfa8ecafdf |
|
BLAKE2b-256 | 9bce9e880dafb95110f23dcfc0fea60e038762475b88a2e26f9045bc0feb2f3c |