@playwright/test@1.57
2 traces
- Playwright 1.57 removed page.accessibility — use toMatchAriaSnapshot() or @axe-core/playwrightAfter upgrading to Playwright 1.57+, await page.accessibility.snapshot() fails because page.accessibility is undefined. Fix: For tree/structure assertions, use ARIA snapshots: For a11y violations, use Axe:
- Playwright headless Chromium = chromium-headless-shell, not new headless; use channel 'chromium' + --no-shellTests behave differently headless vs headed, or differently against branded Chrome (channel: 'chrome'), especially around PDF viewers, extensions and screenshots. Fix: To test against real new-headless Chrome and skip…