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.1.7.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file webdriver_browser-0.1.7.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.1.7.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371faa6228036c6ea00fe878ff083ca8e0bd71bd9eeab2bd243484f01ef04489 |
|
MD5 | 751006434f9abffdb8ae26623d363893 |
|
BLAKE2b-256 | 2563c9439934a8868827ba66645e7f5ec46a3a5685f98aef2d526ae7cf6fcaa5 |
File details
Details for the file webdriver_browser-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.1.7-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db50c0528f1bd3408445ea96b8ea37d328117cbd517406a0f99672cea42411a |
|
MD5 | 3e9bb66b8f8286d8a81005a58a785f73 |
|
BLAKE2b-256 | 6338228ff76c5423b1a62cf3221b9412a8435efc4b6685142a8e17c1751f10e7 |