Skip to content

Commit

Permalink
support chrome-headless-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagesucks authored and freekmurze committed Feb 17, 2025
1 parent 0ef9b34 commit 0102971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/browser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const callChrome = async pup => {

if (!browser) {
browser = await puppet.launch({
headless: request.options.newHeadless ? 'new' : true,
headless: request.options.newHeadless ? true : 'shell',
acceptInsecureCerts: request.options.acceptInsecureCerts,
executablePath: request.options.executablePath,
args: request.options.args || [],
Expand Down

0 comments on commit 0102971

Please sign in to comment.