From 0bb21577439620db196196b7b94c19b7063d437c Mon Sep 17 00:00:00 2001 From: Michael Stillwell Date: Tue, 31 Oct 2017 21:06:20 +0000 Subject: [PATCH] Explain how to run examples (#1226) * Explain how to run examples * Update README.md * Update README.md --- examples/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/README.md b/examples/README.md index 7db3292d..c3b49c56 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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.