Skip to main content

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


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.6.post1.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

webdriver_browser-0.1.6.post1-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page