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.2.0.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file webdriver_browser-0.2.0.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.2.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4564bcc0d35a01d3f20abc737a9e6be25c46b6e8a4bf8b2945504891a08f54 |
|
MD5 | 529a40176b62c0d1f6bdde8058ea4054 |
|
BLAKE2b-256 | 2cc6347ed264ed3efc3646024d34bddc7251720e70957a18338fd7efae034908 |
File details
Details for the file webdriver_browser-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.1 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 | 402a41c7d1dff0a7a971801bca9543e15678cbaa4790033e6506638726e06ddd |
|
MD5 | 1b531947ca59dd6960fc338053944851 |
|
BLAKE2b-256 | 01dfcd92cd45b0be3f83f3f09bffe45e659a3512883b1a4b2eb2344ff8026da4 |