flameddd/screenshots-ci-action

Screenshot a website with different viewpoints

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
urlThe website URL you want to screenshot. e.x.: https://www.google.com/yes
noDesktopNot screenshot website's desktop viewpointnofalse
devicesScreenshot specific mobile devices viewpoint. e.x.: 'iPhone 6' 'Galaxy S III landscape' 'iPad Pro landscape'no
fullPageWhen true, takes a screenshot of the full scrollable page. Defaults to falsenofalse
typeSpecify screenshot type, can be either jpeg or png. Defaults to 'jpeg'.nojpeg
noCommitHashFileNameScreenshot filename don't include commit hash.nofalse
waitUntilWhen to consider navigation succeeded, defaults to 'networkidle0'.nonetworkidle0
waitForSelectorWait 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""
waitForSelectorHiddenWait 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
waitForSelectorVisibleWait 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
waitForSelectorTimeoutMaximum time to wait in milliseconds. Pass 0 to disable timeout.no

no outputs