doc: Clarify that examples need Node v8 (#559)

The examples use async/await, but Node v6 doesn't support them, so to use these examples you either need Node 8 or a transpiler (like Babel) or to use promises.
This commit is contained in:
Mohamed Oun 2017-08-28 00:08:25 +03:00 committed by Andrey Lushnikov
parent e921a1cc21
commit 225e880d15

View File

@ -21,7 +21,7 @@ Most things that you can do manually in the browser can be done using Puppeteer!
### Installation ### Installation
*Puppeteer requires Node version 6.4.0 or greater* > *Note: Puppeteer requires at least Node v6.4.0, but the examples below use async/await which is only supported in Node v7.6.0 or greater*
To use Puppeteer in your project, run: To use Puppeteer in your project, run:
``` ```