Explain how to run examples (#1226)

* Explain how to run examples

* Update README.md

* Update README.md
This commit is contained in:
Michael Stillwell 2017-10-31 21:06:20 +00:00 committed by Eric Bidelman
parent c9a26e11f1
commit 0bb2157743

View File

@ -1,3 +1,11 @@
# Running the examples
Assuming you have a checkout of the Puppeteer repo and have run yarn (or npm i) to install the dependencies, the examples can be run from the root folder like so:
```sh
NODE_PATH=../ node examples/search.js
```
# Other resources
> Other useful tools, articles, and projects that use Puppeteer.