24 lines
543 B
Markdown
24 lines
543 B
Markdown
# 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](https://pptr.dev/examples).
|
|
|
|
## Run
|
|
|
|
Check out this repository and and install the package dependencies, using the following command:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
Then build a version of Puppeteer to be used with the examples:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
After both commands have succeeded, run an individual example like so:
|
|
|
|
```bash
|
|
NODE_PATH=../ node examples/search.js
|
|
```
|