Skip to content

axe-core-python

PyPI PyPI - License PyPI - Python Version PyPI - Downloads

Automated web accessibility testing using axe-core engine.

Requirements

You will need the following prerequisites in order to use axe-core-python:

Installation

pip install -U axe-core-python

Selenium

To install Selenium:

pip install selenium

The appropriate driver for the browser you intend to use should be downloaded and added to your path, e.g. geckodriver for Firefox:

To simplify management of binary drivers for different browsers: Webdriver Manager for Python.

Playwright

To install Playwright (docs):

pip install playwright

Also install browser binaries:

python -m playwright install