15 lines
675 B
JavaScript
15 lines
675 B
JavaScript
|
/* *******************************************************************************************
|
||
|
* PUPPETEER
|
||
|
* https://pptr.dev/
|
||
|
* ******************************************************************************************* */
|
||
|
|
||
|
|
||
|
// When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win)
|
||
|
// that is guaranteed to work with the API.
|
||
|
npm install puppeteer;
|
||
|
|
||
|
// A lightweight version of Puppeteer for launching an existing browser installation or for connecting to a remote one.
|
||
|
// Be sure that the version of puppeteer-core you install is compatible with the browser you intend to connect to.
|
||
|
npm install puppeteer-core;
|
||
|
|