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.post2.tar.gz
.
File metadata
- Download URL: webdriver_browser-0.1.6.post2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c61039af8fb628166645d83c95f141ee6348fde07d73b7e7a29063e35eb9d87 |
|
MD5 | bccddef174b887832e3b1643c06eeeb7 |
|
BLAKE2b-256 | 4d2d79601eab800f1bf08a4da1a8fa793305eff3fcc0aa44fff472cb07c4feee |
File details
Details for the file webdriver_browser-0.1.6.post2-py3-none-any.whl
.
File metadata
- Download URL: webdriver_browser-0.1.6.post2-py3-none-any.whl
- Upload date:
- Size: 16.4 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 | 70f45282a3dedd268660e59764224959da056bf1d90378894dcf424bf680568f |
|
MD5 | 403798842b37c3f9f7dbca49519d5242 |
|
BLAKE2b-256 | b8a809a859994f800bdabc81aca0775694f5f155873c780f0b1be5ecd4ca095e |