Monday, 4 February 2019

Puppeteer Question, can I break things up into functions?

how can I break puppeteer up into functionsconst puppeteer = require('puppeteer'); (async () => { const browser = await puppeteer.launch({headless: false}); (someFunctionUsingPuppeteerMethods); (someFunctionUsingPuppeteerMethods); (someFunctionUsingPuppeteerMethods); })(); (edited) is that even possible?

Submitted February 05, 2019 at 06:57AM by bjjprogrammer

No comments:

Post a Comment