Skip to content

Commit

Permalink
fix(workspace): fix headless bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherPHolder committed Aug 26, 2024
1 parent 3502f27 commit 67e2d76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function parseLaunchOptions(launchOptions?: LaunchOptions): LaunchOptions {
const cliMode = detectCliMode();
// cli mode is "CI" or "SANDBOX"
if (cliMode !== 'DEFAULT' && launchOptions) {
const headlessMode = true;
const headlessMode = 'new';
logVerbose(`Set options#headless to ${headlessMode} in puppeteer#launch as we are running in ${cliMode} mode`);
(launchOptions as any).headless = headlessMode;
}
Expand Down

0 comments on commit 67e2d76

Please sign in to comment.