pw·handbook
Levels Domain Projects Capstones Search GitHub
level 16 / visual-testing

Visual Testing

Screenshot comparisons, Percy, Chromatic, Playwright toHaveScreenshot, and visual regression in CI.

Screenshot & Visual Regression Testing

Use Playwright's built-in toHaveScreenshot and toMatchSnapshot to catch visual regressions automatically.

25 min

Percy & Chromatic

Integrate Percy and Chromatic for cross-browser visual reviews with cloud rendering, diffing, and team approval workflows.

25 min

Visual Regression in CI

Build a reliable visual regression pipeline — Docker-based baselines, update workflows, and PR gates that don't produce false positives.

20 min
pw·handbook — production-grade Playwright engineering, level by level.
Home · Playwright Docs · MIT License