Introduction
Cappa is a Playwright-powered screenshot tool that helps teams spot visual regressions early. It wraps browser automation from Playwright in a workflow tailored for visual reviews so that you can capture, compare, and approve screenshots with confidence.
Why Cappa?
Section titled “Why Cappa?”- Automated coverage. Capture screenshots across routes, viewports, and themes using the same Playwright foundation your team already trusts.
- Deliberate review flow. Run
cappa capture
,cappa review
, andcappa approve
to create a repeatable approval process that fits continuous delivery pipelines. - Extensible by design. Cappa ships with a plugin system so you can connect Storybook or other custom data sources without forking the core tool.
- Local Cappa captures screenshots locally and relies on your vcs to track changes.
Core features
Section titled “Core features”Cappa is composed of a lightweight CLI and a composable configuration layer provided by
@cappa/core
. Together they make it easy to:
- Define screenshot targets in a
cappa.config.ts
file. - Capture images locally or in CI using
cappa capture
. - Review diffs in an interactive UI with
cappa review
. - Approve changes and sync baselines with
cappa approve
.
Continue to the Quickstart guide to install the packages and run your first capture cycle.