-
Notifications
You must be signed in to change notification settings - Fork 76
Reporting the need to use setLegacyMode #1209
Copy link
Copy link
Open
Description
Product
puppeteer
Product Version
24.14.0
Latest Version
- I have tested the issue with the latest version of the product
Issue Description
Expectation
AxePuppeteer should be able to run its analysis on https://www.niche.com as well as apple.com and produce results.
Actual
A Page/Frame not ready error occurs and am not able to get any Axe results.
How to Reproduce
Should be able to run it on either of the above websites. Note that this works fine on the CLI, it just fails when using AxePuppeteer:
const axeResults = await new AxePuppeteer(page)
.withTags(AXE_CONFIG.tagsToAnalyze)
.analyze();
Additional context
Unless I add setLegacyMode(true), I cannot get any Axe results. Reporting this as an issue as expected: https://www.npmjs.com/package/@axe-core/puppeteer/v/4.8.1#axepuppeteersetlegacymodelegacymode-boolean--true
I don't know what the latest version is. Your page says 4.8 but my package.json says "@axe-core/puppeteer": "^4.10.2",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels