1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-06-18 11:22:21 +00:00
awesome-cheatsheets/tools/puppeteer.js
2020-03-16 15:26:48 +01:00

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;