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.8.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file webdriver_browser-0.1.8.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.1.8.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 | c81943724affc9cf8c369588c34d09066b00aac63f8f197f4d5c813df4928c7b |
|
MD5 | c29266e9ad3db0e6df3d5b054461e100 |
|
BLAKE2b-256 | 2801aa1fb057e2579fca37a7c047e96ba62440bda32bdf5dffbfbf61a0ba037e |
File details
Details for the file webdriver_browser-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.1.8-py3-none-any.whl
- Upload date:
- Size: 16.6 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 | b0256a1c9c792e24879223f5673272675c0cfa98e84569dc1f5f13475140e773 |
|
MD5 | 7bccbad099a8b127d9468ab5aed28afa |
|
BLAKE2b-256 | 0fce2a71189b84a43c2c3d97c2a1f7368255f5a291002f4eb064a69163f41a61 |