1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-21 09:39:04 +00:00

docs(puppeteer): initialize cheatsheet

This commit is contained in:
Julien Le Coupanec 2020-03-16 15:26:48 +01:00
parent 5f0b94b7c2
commit b3444b6a31

14
tools/puppeteer.js Normal file
View File

@ -0,0 +1,14 @@
/* *******************************************************************************************
* 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;