More convenient methods for creating multiple selenium browsers.
Project description
selenium_browser
More convenient methods for creating multiple selenium browsers.
Example
pip install webdriver_browser
from webdriver_browser import BrowserOptions
from webdriver_browser.chrome import ChromeBrowser
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
with ChromeBrowser(BrowserOptions) as browser:
browser.driver.get("https://example.org/")
browser.wait.until(EC.visibility_of_element_located((By.TAG_NAME, 'h1')))
assert browser.driver.title == 'Example Domain'
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
webdriver_browser-0.3.0.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file webdriver_browser-0.3.0.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.3.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db54276dec8d7464f1a4e447fc808c71fb739f017e4433f8e4ab4f3c9b665a48 |
|
MD5 | b68afc77688633266b17889fc69e3b56 |
|
BLAKE2b-256 | 7e5316b72f29e1a825535e703a5d691e63c9cf1028c5e7cbce53b4f4e588fc93 |
File details
Details for the file webdriver_browser-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 305b38913a31a8431b04502f7130cc43d33991a5bce552a153910962c3470fab |
|
MD5 | 30ab681a1f38e1ba426ad576701ac853 |
|
BLAKE2b-256 | 7accbb60209d704933112dd13383c3c5d4ef31f3c25c7dcd3cf09ae25c9e306e |