| .. | ||
| puppeteer-in-browser | ||
| puppeteer-in-extension | ||
| block-images.js | ||
| cross-browser.js | ||
| custom-event.js | ||
| detect-sniff.js | ||
| pdf.js | ||
| proxy.js | ||
| README.md | ||
| screenshot-fullpage.js | ||
| screenshot.js | ||
| search.js | ||
| webdriver-bidi.mjs | ||
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