ravidsrk/Frontguard Visual Regression
AI-powered frontend visual regression testing. Detect, understand, and fix visual bugs before production.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 30, 2026
- License
- MIT
Pinned Snippet
uses: ravidsrk/frontguard@35843ec50515cc27d4ff6b3d97b91203d4d3e023 # v0.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| url | Base URL to test. Auto-detects Vercel/Netlify preview URLs if not set. | no | — |
| routes | Comma-separated routes to test (optional — auto-discovers if not set) | no | — |
| viewports | Comma-separated viewport widths (default: 375,768,1440) | no | 375,768,1440 |
| browsers | Comma-separated browsers: chromium,firefox,webkit (default: chromium) | no | chromium |
| threshold | Pixel diff threshold percentage (default: 0.1) | no | 0.1 |
| config | Path to frontguard.config.ts | no | — |
| ai-provider | AI provider: openai or anthropic | no | — |
| ai-model | AI model name (e.g., gpt-4o, claude-3-5-sonnet-20241022) | no | — |
| update-baselines | Accept current screenshots as new baselines | no | false |
| github-token | GitHub token for PR comments (defaults to github.token) | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| result | JSON result of the visual regression test run |
| regressions | Number of regressions found |
| status | pass, fail, or error |