Skip to content

Commit f1bfeae

Browse files
authored
fix: add --disable-component-extensions-with-background-pages flag to default arguments (#8315)
<!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References _Provide a link to the existing issue(s), if any._ ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail
1 parent d5cb4db commit f1bfeae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/browser/provider/built-in/dedicated/chrome/build-chrome-args.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ export const CONTAINERIZED_CHROME_FLAGS = ['--no-sandbox', '--disable-dev-shm-us
22

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

710
let chromeArgs = []
811
.concat(

0 commit comments

Comments
 (0)