Screenshots and traces
Page screenshots
Element screenshots
Masking sensitive regions
Overlay a solid color over selected elements before snapshotting:
Disable animations for stable captures
Snapshot assertions
Stored baseline; failures emit a diff image next to the snapshot.
First run writes the baseline. Subsequent runs compare. Update with:
ARIA / accessibility snapshots
YAML representation of the accessibility tree — readable, deterministic, and great for catching unintended a11y regressions.
Playwright-compatible traces
Recorded in [test].trace mode and dropped into the output directory.
Open with the Playwright trace viewer:
Modes: off, on, retain-on-failure, on-first-retry.
Manual tracing
Video recording
Per-context:
Modes:
Requires ffmpeg on PATH at runtime.