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.10

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.10
File Size Uploaded Provenance Actions
axe_playwright_python-0.1.10.tar.gz 224.3 kB Without provenance Details for axe_playwright_python-0.1.10.tar.gz

Built distribution (wheel)

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

Total release size: 414.3 kB

Release files / axe_playwright_python-0.1.10.tar.gz

Download URL axe_playwright_python-0.1.10.tar.gz
Size 224.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f72b928a98a292e9ca5d21b0838184d1c6f26733e96b5b84e8ac3073a2c2d5e1
BLAKE2b-256 checksum
How to use checksums
804025c4238341464e8851bce14b6fe97a3f685019dc9f84fa24b74fd5d5ae6e
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.10-py3-none-any.whl

Download URL axe_playwright_python-0.1.10-py3-none-any.whl
Size 190.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9f860ad03b6568399f42123e798549f28ae771f1d64b0cab274c7f124d31f4
BLAKE2b-256 checksum
How to use checksums
9a6d8538927e66f3aefeafd2d16c14c81d6a0ba3e9b9d36c0b03f97f9acd8205
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.10

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