Runs axe-core over the whole page as it is now.
the page to scan
see A11yOptions
the violations; empty when the page passes
Error if @axe-core/playwright isn't installed
@axe-core/playwright
const violations = await scanA11y(page, { tags: ["wcag2a"] }); Copy
const violations = await scanA11y(page, { tags: ["wcag2a"] });
Runs axe-core over the whole page as it is now.