Skip to content

Commit

Permalink
add --disable-component-extensions-with-background-pages flag
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelMor25 committed Oct 24, 2024
1 parent d5cb4db commit 9672225
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ export const CONTAINERIZED_CHROME_FLAGS = ['--no-sandbox', '--disable-dev-shm-us

export function buildChromeArgs ({ config, cdpPort, platformArgs, tempProfileDir, isContainerized, isNativeAutomation, browserName }) {
const headlessMode = ['chrome', 'chromium'].includes(browserName) ? '--headless=new' : '--headless';
const defaultArgs = ['--disable-search-engine-choice-screen'];
const defaultArgs = [
'--disable-search-engine-choice-screen',
'--disable-component-extensions-with-background-pages',
];

let chromeArgs = []
.concat(
Expand Down

0 comments on commit 9672225

Please sign in to comment.