Skip to content

Max-Herbold/selenium_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium utilities

Better functionality for selenium.

  • Downloads and keeps ChromeDriver up to date automatically.
  • Additional functionalities around Google captcha solving and OTA code generation

python -m pip install more-selenium

from more_selenium import Browser, Keys, By

browser = Browser(headless=False)

browser.get_and_wait(xpath, timeout=10, by=By.XPATH)
browser.get_and_wait(xpath, timeout=0, by=By.XPATH)  # fail instantly if not present
browser.get_and_wait(xpath, timeout=-1, by=By.XPATH)  # wait forever

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages