Playwright Visual Regression Suite
Automated visual regression testing using Playwright's screenshot comparison API (page.screenshot with maxDiffPixelRatio) and toMatchSnapshot assertions. Supports cross-browser testing on Chromium, Firefox, and WebKit.
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright
Requirements and caveats from upstream:
Basic usage or getting-started notes:
bash
Optionally install skills for richer agent integration:
playwright-cli install --skills
Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md