puppeteer-util
v1.0.1
Published
Download and use puppeteer at runtime
Downloads
7
Readme
Puppeteer Util
This package downloads and uses puppeteer at runtime.
This gives us two benefits:
- It does not need to be packaged with any installer (packaging puppeteer causes Apple to refuse to sign the installer)
- Multiple components can use the same installed puppeteer (useful for Everlife Skills)
Example:
const puppeteerUtil = require('./index')
async function test() {
let browser = await puppeteerUtil.launch({ headless: false, slowMo: 100, args: [ '--proxy-server="direct://"', '--proxy-bypass-list=*']})
let page = await browser.newPage()
}
test()