Skip to content

Commit

Permalink
fix: docker test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayheck committed Mar 28, 2024
1 parent 6efa9d6 commit 5e031c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const CONTAINERIZED_CHROME_FLAGS = ['--no-sandbox', '--disable-dev-shm-usage'];

export function buildChromeArgs ({ config, cdpPort, platformArgs, tempProfileDir, isContainerized, isNativeAutomation, browserName }) {
const headlessMode = browserName === 'chrome' ? '--headless=new' : '--headless';
const headlessMode = ['chrome', 'chromium'].includes(browserName) ? '--headless=new' : '--headless';

let chromeArgs = []
.concat(
Expand Down

0 comments on commit 5e031c5

Please sign in to comment.