mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
parent
e921a1cc21
commit
225e880d15
@ -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:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user