Skip to content

Commit 0102971

Browse files
vintagesucksfreekmurze
authored andcommitted
support chrome-headless-shell
1 parent 0ef9b34 commit 0102971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/browser.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const callChrome = async pup => {
9292

9393
if (!browser) {
9494
browser = await puppet.launch({
95-
headless: request.options.newHeadless ? 'new' : true,
95+
headless: request.options.newHeadless ? true : 'shell',
9696
acceptInsecureCerts: request.options.acceptInsecureCerts,
9797
executablePath: request.options.executablePath,
9898
args: request.options.args || [],

0 commit comments

Comments
 (0)