Use new Chrome headless mode

This commit is contained in:
Antonin Stefanutti 2023-05-05 17:00:12 +02:00 committed by Antonin Stefanutti
parent a4bfa202bf
commit 479587aa61

View File

@ -230,7 +230,7 @@ process.on('unhandledRejection', error => {
const options = parser.parse(process.argv.slice(2));
const browser = await puppeteer.launch({
headless : true,
headless : 'new',
// TODO: add a verbose option
// dumpio : true,
executablePath : options.chromePath,