Take a screenshot with Puppet Master, save to S3
@dylburger
code:
data:privatelast updated:4 years ago
@dylburger/
Take a screenshot with Puppet Master, save to S3

Puppet Master provides Puppeteer as a service through a REST API. You can take a screenshot or generate a PDF using their API, passing many of the same parameters you'd use if you used Puppeteer yourself.

Puppet Master has a rate-limited free tier, but you can sign up for higher limits. If you do, you'll receive an API key that you can pass as a parameter to the take_screenshot step, which should remove the rate limits.

Quickstart

  1. Click the Fork button in the top right.
  2. Add the URL you'd like to take a screenshot of in the URL field.
  3. In the save_to_s3 step, press Connect Account again to add your AWS access / secret keys. The user tied to these keys must have PutObject permissions on the destination S3 bucket where you'd like to save screenshots.
  4. Enter your destination bucket name in the Bucket field.