flameddd/screenshots-ci-action
Screenshot a website with different viewpoints
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The website URL you want to screenshot. e.x.: https://www.google.com/ | yes | — |
| noDesktop | Not screenshot website's desktop viewpoint | no | false |
| devices | Screenshot specific mobile devices viewpoint. e.x.: 'iPhone 6' 'Galaxy S III landscape' 'iPad Pro landscape' | no | — |
| fullPage | When true, takes a screenshot of the full scrollable page. Defaults to false | no | false |
| type | Specify screenshot type, can be either jpeg or png. Defaults to 'jpeg'. | no | jpeg |
| noCommitHashFileName | Screenshot filename don't include commit hash. | no | false |
| waitUntil | When to consider navigation succeeded, defaults to 'networkidle0'. | no | networkidle0 |
| waitForSelector | Wait for the selector to appear in page. If at the moment of calling the method the selector already exists, the method will return immediately. If the selector doesn't appear after the timeout milliseconds of waiting, the function will throw. | no | "" |
| waitForSelectorHidden | Wait for the selected element to not be found in the DOM or to be hidden, i.e. have display: none or visibility: hidden CSS properties. | no | — |
| waitForSelectorVisible | Wait for the selected element to be present in DOM and to be visible, i.e. to not have display: none or visibility: hidden CSS properties. | no | — |
| waitForSelectorTimeout | Maximum time to wait in milliseconds. Pass 0 to disable timeout. | no | — |
Outputs
no outputs