node.js puppeteer launch callback

后端 未结 0 963
臣服心动
臣服心动 2021-01-19 04:18

Is there a way to use a callback for puppeteer.launch instead of wrapping it in an async IIFE?

(async () => {
    const browser = await puppeteer.launch();         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题