A wrapper around Selenium with a more pythonic interface
Project description
This is a wrapper around the Selenium Webdriver Python API, which provides a more Pythonic interface. The main differences are in the element selectors and the condition API. Pylenium allows you to do driver.find_element(css='body') instead of driver.find_element(By.CSS_SELECTOR, 'body').
Other differences:
There is a link_text selector. The conditions and WebElements have also been wrapped to support the new selectors.
There are a number of new conditions available such as any and not_or_gone that can be composed with other conditions.
It is possible to use normal python callables as conditions.
Project details
Release history Release notifications | RSS feed
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 pylenium-1.0.tar.gz
.
File metadata
- Download URL: pylenium-1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a84b7218e2f385e890eb7f3eb129a9344b08f4f91af93657b23f6b9ffa7a960c |
|
MD5 | 5dcd0f9fbf93d9101a319bfccda2b7a5 |
|
BLAKE2b-256 | e75db736f82fe2dd04e6fe3bc41219aba000177f9787daa9d3c305375105a318 |
File details
Details for the file pylenium-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pylenium-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9cd4631e93b8560024743bf5739ef77d53704d23089d7ed0e78b94d2aa50e21 |
|
MD5 | aa4c859fd63320254ec5779f36db40d0 |
|
BLAKE2b-256 | 4983e0fcb4317fd32aa96e30ddc300b3eab2cd222348c28c98122c05fd909c7b |