Skip to content

Commit

Permalink
fix: Changed headless to new chrome mode
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed May 30, 2023
1 parent 09d9e0f commit 88625ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/browser.ts
Expand Up @@ -282,7 +282,7 @@ export async function initBrowser(
browser = await puppeteer.connect({ transport });
} else {
browser = await puppeteer.launch({
headless: options.headless,
headless: options.headless ? 'new' : false,
devtools: options.devtools,
args: options.browserArgs
? options.browserArgs
Expand Down

0 comments on commit 88625ba

Please sign in to comment.