Skip to content

Files

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 25, 2025
Apr 25, 2025
Aug 30, 2024
Jun 22, 2022
Sep 5, 2024
Jan 3, 2024
Oct 23, 2024
Aug 6, 2024
Jan 3, 2024
Jan 3, 2024
Feb 21, 2025
Jan 3, 2024
Aug 6, 2024

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