playwright-snapshots
Installation
SKILL.md
playwright-snapshots
Overview
Playwright ships first-party visual regression assertions through
expect(page).toHaveScreenshot() (and the per-locator
expect(locator).toHaveScreenshot()). Snapshots are stored in the repo
under per-test, per-browser, per-OS PNG files; comparison happens
locally and the test fails when the diff exceeds the configured
threshold (playwright-snapshots).
This is the self-hosted option - no external service, no per-snapshot billing, but also no hosted UI for review (diffs are reviewed locally or via CI artifact uploads).