mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 22:11:35 +00:00
docs(puppeteer): initialize cheatsheet
This commit is contained in:
14
tools/puppeteer.js
Normal file
14
tools/puppeteer.js
Normal 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;
|
||||||
|
|
||||||
Reference in New Issue
Block a user