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
Built Distribution
File details
Details for the file webdriver_browser-0.1.6.post1.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.1.6.post1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b76b0e46d85394aeb252e89d9432906b485e02a944c6f3d26471a85ad04fbfe |
|
MD5 | 183461e8443aa6c6b96cf2c15d549985 |
|
BLAKE2b-256 | bbb1f5bbcbc00b7d26667fae1ed55601cef40ccd0454e13149b2bcc4d13afcdd |
File details
Details for the file webdriver_browser-0.1.6.post1-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.1.6.post1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108b5210feab4a7c267a96a0cbd93d4435f7b4d3f235363e4194620dce909388 |
|
MD5 | 9ee3877e1c6a990e2914fb9932093996 |
|
BLAKE2b-256 | 8688f97d3fc8152fdfb0ca45857c6029d487ee160b13f3d4f0f8e2268f244f81 |