Skip to content

About

A one stop shop to refer all python selenium methods at a glance

Resources

Stars

3 stars

Watchers

4 watching

Forks

Repository files navigation

Python Selenium method collection

All the Python Selenium methods you reach for, at a glance, grouped by module. Updated for Selenium 4; every name in these tables is checked against the latest Selenium release in CI, so the docs fail loudly when Selenium changes.

Quick start

pip install selenium
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()  # Selenium Manager downloads a matching driver
driver.get("https://example.com")
print(driver.find_element(By.TAG_NAME, "h1").text)
driver.quit()

Selenium 4.6 and later find or download the browser driver for you, so there is no executable_path and no separate driver download.

Check the docs yourself

pip install -U selenium
python tools/check_methods.py

Feedback and pull requests are welcome.

About

A one stop shop to refer all python selenium methods at a glance

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages