@axe-core/watcher Package 3.0.0 Release Notes

Link to @axe-core/watcher Package 3.0.0 Release Notes copied to clipboard

Released September 8, 2023

Free Trial
important

axe Developer Hub is a beta product and is subject to change.

important

This release has breaking changes for how the @axe-core/watcher package wraps Playwright, Playwright/Test, and Puppeteer APIs.

Features

To address cases where analyze() was unexpectedly not called, these functions needed to be deprecated and replaced:

Deprecated function New function
wrapPlaywright(browserContext, controller) wrapPlaywrightPage(page, controller)
wrapPuppeteer(context, controller) wrapPuppeteerPage(page, controller)

Using the deprecated functions will throw an error.

Bug Fixes

Nothing relevant