mirror of
https://github.com/astefanutti/decktape.git
synced 2024-08-17 18:20:40 +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 options = parser.parse(process.argv.slice(2));
|
||||||
|
|
||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({
|
||||||
headless : true,
|
headless : 'new',
|
||||||
// TODO: add a verbose option
|
// TODO: add a verbose option
|
||||||
// dumpio : true,
|
// dumpio : true,
|
||||||
executablePath : options.chromePath,
|
executablePath : options.chromePath,
|
||||||
|
Loading…
Reference in New Issue
Block a user