Tools to make certain selenium tasks more straightforward.
Project description
selenium_helpers
What is it?
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
Built Distribution
File details
Details for the file selenium-helpers-1.0.5.tar.gz
.
File metadata
- Download URL: selenium-helpers-1.0.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b42860fbad46f4cf8fe711dd9db5fc2858d08c6995b2bf809c6a9a82c0f334 |
|
MD5 | 6374502f8b6b4473a8ef9612d5a76b1b |
|
BLAKE2b-256 | 4c5178b953f941823714dae6483a7b53cd0c1ab505bc0c193a9e7adea95113a4 |
File details
Details for the file selenium_helpers-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: selenium_helpers-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3b704904ffcc33ac083d3d1d8169395738f69e109531dcce0bcd79f95ab6b9 |
|
MD5 | e719ff36e524e2d14e75b8cd273de544 |
|
BLAKE2b-256 | 550cee47493a00c7e614f8f4e9b5e0268c74949f67694b5a72d45bd72c03bf39 |