axe-devtools-selenium Python API Reference

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

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)