Launch puppeteer browser
Launch installed chrome without downloading chromium bin.
- import puppeteer from 'puppeteer'
+ import launchBrowser from 'launch-puppeteer'
- const browser = await puppeteer.launch()
+ const browser = await launchBrowser()
yarn add launch-puppeteer
import launchBrowser from 'launch-puppeteer'
const browser = await launchBrowser()
console.log(browser)
//=> Browser {...}