Getting started run instructions

This commit is contained in:
dgozman 2017-07-18 11:13:29 -07:00 committed by GitHub
parent 28265fc313
commit 5ca92ffb71

View File

@ -33,7 +33,7 @@ npm install
## Getting Started ## Getting Started
The following script navigates to https://example.com and saves a screenshot to *example.png*: To navigate to https://example.com and save a screenshot as *example.png*, save the following script as `example.js` and run it using `node example.js`:
```javascript ```javascript
const Browser = require('Puppeteer').Browser; const Browser = require('Puppeteer').Browser;