Skip to content
camera

GitHub Action

Puppeteer Screenshot Action

1.3.1 Latest version

Puppeteer Screenshot Action

camera

Puppeteer Screenshot Action

Run puppeteer script and generate screenshot

Installation

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

              

- name: Puppeteer Screenshot Action

uses: lannonbr/puppeteer-screenshot-action@1.3.1

Learn more about this action in lannonbr/puppeteer-screenshot-action

Choose a version

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/puppeteer-screenshot-action@1.0.0"
    with:
      url: https://github.com