mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Getting started run instructions
This commit is contained in:
parent
28265fc313
commit
5ca92ffb71
@ -33,7 +33,7 @@ npm install
|
||||
|
||||
## 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
|
||||
const Browser = require('Puppeteer').Browser;
|
||||
|
Loading…
Reference in New Issue
Block a user