-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Describe the bug
When doing this in playwright
const results = await new AxeBuilder({ page })
.withTags(["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"])
.analyze();Enable videos in the playwright config file
it results in videos being broken i end up with loads of broken up video files because im doing multiple scans per test.
The only way to fix this is this and use setLegacyMode(true)
const results = await new AxeBuilder({ page })
.withTags(["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"])
.setLegacyMode(true)
.analyze();I've reported this issue as per
It would be great to not have to do this especially as i'd like to be able to test cross origin iframes
To Reproduce
Steps to reproduce the behavior:
Use the library as per code snippets
Expected behavior
Using the library doens't break videos
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please include versions for all products, browsers, OS, etc used ):
Additional context
Add any other context about the problem here.