Have you had success with Puppeteer?

Hey there!

I was curious if anyone has had any luck using Serverless to host their Puppeteer scripts on AWS Lambda. Thanks!

Hi Sean,
Did you have any luck figuring this out? I’d like to do the same, but it’s tough finding the right information.

@jiridj yes I have! I created a repo a few months back, can’t guarantee it’ll work 100% at the moment, and it’s for puppeteer version 1.4.0, but it should be a good starting point to help you out. Within the serverless framework, just create a function whose handler is similar to the code in the README. Enjoy!

1 Like

Also the guy over on this repo has been keeping his dependencies up to date, works with puppeteer 1.9.0. It’s where I took my compressed Chromium version from.

1 Like

Maybe this will help you: https://nadeesha.github.io/headless-chrome-puppeteer-lambda-servelerless/