Skip to content
scissors

GitHub Action

Web Screenshots

v1.12.0 Latest version

Web Screenshots

scissors

Web Screenshots

Create web screenshots by input source url

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Web Screenshots

uses: AlexRogalskiy/[email protected]

Learn more about this action in AlexRogalskiy/github-action-screenshots

Choose a version

Styled screenshots

GitHub Action to generate styled screenshots

GitHub marketplace

management: perfekt👌 code style: prettier Mergify Status Reviewed by Hound

DeepScan grade GitHub tag (latest by date) GitHub Release Date Lines of code GitHub closed issues GitHub closed pull requests GitHub repo size GitHub last commit GitHub language count GitHub search hit counter GitHub Repository branches GitHub Repository dependents Renovatebot Dependabot NewReleases Hits-of-Code CI CircleCI

GitHub Super-Linter ComVer Public workflows that use this action. Licence

Table of contents

Description

JavaScript Project Status: Active – The project has reached a stable, usable state and is being actively developed. Project created status Project updated status

Creates screenshots by input json data source and dimension parameters.

Inputs

url

Required Target url to create a screenshot from.

name

Optional Screenshot image name (default screenshot)

path

Optional Screenshot image path (default images)

extension

Optional Screenshot image extension (default png)

encoding

Optional Screenshot image encoding (default binary)

fullPage

Optional Screenshot image with a full-page view (default false)

width

Optional Screenshot image width (default 1024)

height

Optional Screenshot image height (default 768)

Outputs

image

Generated screenshot image (stored in the path directory)

Examples

- name: Create screenshots
  uses: alexrogalskiy/github-action-screenshots@master
  with:
    url: 'https://www.google.com/'
    name: 'screenshot'
    path: 'images'
    extension: 'png'
    encoding: 'binary'
    fullPage: false
    width: 400
    height: 400

Running locally:

  • npm run start:action --action github-action-screenshots --url 'https://www.google.com/' --name screenshot-name --extension png --width 400 --height 400

Visitor stats

GitHub page hits

GitHub stars GitHub forks GitHub watchers

Licensing

Styled Screenshots is distributed under LGPL version 3 or later, [License]. LGPLv3 is additional permissions on top of GPLv3.

license

Authors

Styled Screenshots is maintained by the following GitHub team-members:

  • Author

with community support please contact with us if you have some question or proposition.

Versioning

The project uses SemVer for versioning. For the versions available, see the tags on this repository.

Contribution

Contributors Display

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us (emoji key).

This project follows the all-contributors specification. Contributions of any kind are welcome!

PRs Welcome Github contributors

See also the list of contributors who participated in this project.

Acknowledgement

Stargazers repo roster for @AlexRogalskiy/github-action-screenshots

Forks

Forkers repo roster for @AlexRogalskiy/github-action-screenshots

Development Support

Like Styled Screenshots ? Consider buying me a coffee :)

Become a Patron Buy Me A Coffee KoFi


forthebadge forthebadge forthebadge