Home

Awesome

puppeteer-serverless

Puppeteer for AWS Lambda that also works for local development.

<p align="center"> <a href="https://puppet-master.sh" title="Puppet Master"> <img src="https://raw.githubusercontent.com/saasify-sh/puppeteer-serverless/master/media/puppeteer-logo.png" alt="Puppeteer Logo" width="200" /> </a> </p>

NPM Build Status JavaScript Style Guide

Install

npm i --save puppeteer-serverless

Usage

Use just like normal puppeteer:

import puppeteer from 'puppeteer-serverless'

const browser = await puppeteer.launch()
const page = await browser.newPage()

If NODE_ENV is set to development, it will use your local install of Chrome located at:

License

MIT © Saasify