Skip to content

Latest commit

 

History

History

examples

Puppeteer: Examples

This is the official set of Puppeteer examples. For a list of curated examples and use-cases, including third-party ones, see pptr.dev/examples.

Run

Check out this repository and and install the package dependencies, using the following command:

npm install

Then build a version of Puppeteer to be used with the examples:

npm run build

After both commands have succeeded, run an individual example like so:

NODE_PATH=../ node examples/search.js