New axe DevTools Integration: Playwright

Michael Siek

By Michael Siek

June 7, 2021

axeDevTools Playwright Integration

Automation is the key to efficient and affordable accessibility testing. By enabling development teams to automate much of their accessibility testing, we can empower them to find issues faster and resolve them before they ever make it into the codebase. Not only does this require a tool that is accurate and fast, but it also requires a tool that can keep up with the speed at which dev teams adopt new and better tools and testing environments. On that note, the Deque team is pleased to announce our latest integrations: axe DevTools Playwright.

Playwright is a NodeJS library to automate Chromium, Firefox, and WebKit. With Playwright, developers can create scripts to open pages, trigger events, run tests, and lots more. This is great for automated testing and is an increasingly popular alternative to Webdriver.

Axe DevTools Playwright

Axe DevTools Playwright is an integration for Playwright that uses the latest version of axe-core. Axe DevTools Playwright comes with the usual features you have come to expect from axe DevTools, including:

– Multiple rulesets such as WCAG 2.0, Section 508.

– Support for ruleset customization and augmentation.

– Various reporting capabilities such as HTML, JUnit XML.

Code Example: 

const AxeBuilder = require('@axe-devtools/playwright').default
const playwright = require('playwright')

;(async () => {
  const browser = await playwright.chromium.launch({ headless: false })
  const context = await browser.newContext()
  const page = await context.newPage()
  await page.goto('https://dequeuniversity.com/demo/mars/')
  const results = await new AxeBuilder({ page }).analyze()
  // eslint-disable-next-line no-console
  console.log(results)
  await browser.close()
})()

Axe DevTools Playwright is available for Enterprise customers of axe DevTools and requires access from Agora, Deque’s package registry. Customer documentation for axe DevTools Playwright can be found in the axe DevTools Product Guide.

Michael Siek

Michael Siek

Michael is working on axe-core integrations, axe DevTools integrations, and axe-linter. Michael’s goal is to help with digital equality one line of code at a time.

Recevez les articles de blog directement dans votre boîte mail

Pas de bavardages inutiles, mais des informations concrètes sur l'accessibilité, fournies par des experts qualifiés.

Vous acceptez que Deque , utilise et partage des informations conformément à Dequedéclaration de confidentialité. Vous pouvez modifier votre consentement à tout moment en nous contactant.

En savoir plus sur ce sujet

Je suis responsable technique. Par où commencer en matière d'accessibilité ?

Dylan Barrell
28 avril 2026 Par Dylan Barrell

En tant que responsable technique chargé pour la première fois de l'accessibilité numérique, par où commencer ? Ce plan d'action en trois étapes, s'étalant sur 90 jours, vous aidera à vous lancer.

Lire l'article
Un responsable technique travaillant à son bureau. Des bulles entourent l'image et indiquent les mots suivants : « Conformité », « Outillage et tests », « Formation des développeurs » et « Stratégie ».

Pourquoi les fausses déclarations et les faux positifs nuisent aux programmes d'accessibilité numérique

Preety Kumar 100x150
September 25, 2025 By Preety Kumar

Development teams are at the front lines of digital accessibility. Through the skills they bring, the tools they use, and the processes they embrace, we’re…

Lire l'article
Un développeur travaillant sur un ordinateur portable. La légende indique : « Outils de test d'accessibilité, innovation en matière d'IA, confiance et zéro faux positifs ».