Skip to main content

axe-playwright-python

Automated web accessibility testing using axe-core engine and Playwright.

Documentation

Further Reading & More

Dependencies

Installation

python3 -m pip install -U axe-playwright-python
python3 -m playwright install --with-deps

Usage

from playwright.sync_api import sync_playwright
from axe_playwright_python.sync_playwright import Axe

axe = Axe()

with sync_playwright() as playwright:
    browser = playwright.chromium.launch()
    page = browser.new_page()
    page.goto("https://www.google.com")
    results = axe.run(page)
    browser.close()

print(f"Found {results.violations_count} violations.")
print(f"Full axe-core response: {results.response}")

For more examples see documentation.

Contributing

See guide on contributing.

Acknowledgments

This project is based on axe-core-python by @ruslan-rv-ua and also takes inspiration from axe-selenium-python for output formats.

Metadata

Release files for axe-playwright-python 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axe-playwright-python 0.1.9
File Size Uploaded Provenance Actions
axe_playwright_python-0.1.9.tar.gz 223.7 kB Without provenance Details for axe_playwright_python-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axe-playwright-python 0.1.9
File Interpreter ABI Platform Actions
axe_playwright_python-0.1.9-py3-none-any.whl Python 3 none any Details for axe_playwright_python-0.1.9-py3-none-any.whl

Total release size: 413.1 kB

Release files / axe_playwright_python-0.1.9.tar.gz

Download URL axe_playwright_python-0.1.9.tar.gz
Size 223.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eb5feb0111dd55c69932a61def7029aa84e414af6245f84165b2d349bd1184c1
BLAKE2b-256 checksum
How to use checksums
3b1fdc08ac324d83ac92015b8658b9d4b3f0e9cd956bead24a0fb1e458a52656
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.33.0

Release files / axe_playwright_python-0.1.9-py3-none-any.whl

Download URL axe_playwright_python-0.1.9-py3-none-any.whl
Size 189.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
101d3a69fd9e4e064164250aeb375eb31c37a749ff81aff9915c12ac430497ac
BLAKE2b-256 checksum
How to use checksums
e4de1c3d7b1fbc3c50b97eb9ef3853444599643a621849b06dce6285410e8a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.33.0

Security for axe-playwright-python 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page