E2E test frameworks
Playwright
Usage

Usage

This example shows how to use UserWay App Playwright to run static page analysis on a webpage:

it('Google basic example', async ({ page }) => {
  // Visit a target page
  await page.goto(
    'we need to deploy some demo page (Google demo: https://www.google.com/)',
  )
  // Run static analysis
  await userwayAnalysis(page)
})

By default, UserWay App Playwright scans the page for AA violations and asserts on the number of issues, but you can easily customize it's behavior.