Skip to content

A GitHub Action to run a puppeteer script and generate a screenshot

License

Notifications You must be signed in to change notification settings

lannonbr/puppeteer-screenshot-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppeteer Screenshot Action

A GitHub Action to open Puppeteer and take a screenshot of the page. The screenshot will be saved to $GITHUB_WORKSPACE/screenshots/screenshot-${timestamp}.png where the timestamp is the unix timestamp of when the image was taken. You can change the name of the saved screenshot in the config.

More on GitHub Actions here

Prerequisites

Supported platforms

Platform Versions Tested & Working
ubuntu 16.04, 18.04 👍
windows Server 2016 & 2019 👍
macOS 10.15 👍

Example usage

steps:
  - name: Take photo of github.com
    uses: "lannonbr/[email protected]"
    with:
      url: https://github.com

About

A GitHub Action to run a puppeteer script and generate a screenshot

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published