mirror of
https://github.com/astefanutti/decktape.git
synced 2024-08-17 10:10:30 +03:00
Use new Chrome headless mode
This commit is contained in:
parent
a4bfa202bf
commit
479587aa61
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user