Running headless Chrome / Puppeteer with --no-sandbox

后端 未结 4 1779
青春惊慌失措
青春惊慌失措 2020-12-16 04:02

Background

I built an application that uses Puppeteer on my localhost. Now that I am trying to deploy it into a debian environment the script that r

4条回答
  •  再見小時候
    2020-12-16 04:30

    There is no need of a timeout,

    const browser = await puppeteer.launch({headless: true, args:['--no-sandbox']});

提交回复
热议问题