zixuan57/snapdiff
Visual regression testing - compare screenshots with Playwright
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Operation mode: "diff" (compare screenshots) or "capture" (take new baseline) | no | diff |
| threshold | Pixel difference threshold (0-1, e.g. 0.1 = 10%) | no | 0.1 |
| name | Snapshot name to use (baseline name) | no | — |
| config | Path to snapdiff config file | no | — |
| url | URL to capture (capture mode only) | no | — |
| viewport | Viewport size (e.g. "1280x720") | no | — |
| full-page | Capture full page (true/false) | no | false |
| headless | Run browser in headless mode (true/false) | no | true |
| output | Output directory for screenshots and reports | no | .snapdiff |
Outputs
no outputs