axe-devtools-selenium Python API Reference

Link to axe-devtools-selenium Python API Reference copied to clipboard

Interface to allow the use of selenium webdrivers with the axe-devtools-api package.

Provides the AxeDriver wrapper class to enhance a selenium webdriver.

Prerequisites

You must have a Selenium webdriver binding (such as chromedriver or geckodriver) installed.

Usage

Just initialize the AxeDriver with a selenium webdriver

driver = webdriver.Chrome()
driver.get("https://dequeuniversity.com/demo/mars/")
axe_driver = AxeDriver(driver)