Skip to content

More convenient methods for creating multiple selenium browsers.

License

Notifications You must be signed in to change notification settings

invoker-bot/selenium_browser

Repository files navigation

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'

About

More convenient methods for creating multiple selenium browsers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published