guibranco/GitHub Screenshot Action
Capture, monitor, and version website screenshots from a JSON list
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| json_file | Path to JSON file with URLs | yes | — |
| output_dir | Directory to save screenshots | yes | — |
| create_pr | Create PR instead of direct commit | no | false |
| branch_name | Branch name if PR is enabled | no | screenshots/update |
| concurrency | Number of parallel screenshots | no | 3 |
| timeout_ms | Page load timeout in milliseconds | no | 30000 |
| retries | Number of retries per URL | no | 2 |
| wait_until | Puppeteer page load event to wait for before capturing. Options: load, domcontentloaded, networkidle0, networkidle2 | no | networkidle2 |
| wait_after_load | Extra milliseconds to wait after the page load event. Useful for React/Vite apps that animate or fetch data lazily after hydration. | no | 0 |
| square | If true, captures a square screenshot by setting a square viewport and clipping to width x width | no | false |
| viewport_width | Viewport width in pixels. Also used as the square size when square is true. | no | 1280 |
Outputs
no outputs