We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f40e6cf + 58775b5 commit 454d6bbCopy full SHA for 454d6bb
cypress.config.js
@@ -35,6 +35,15 @@ module.exports = defineConfig({
35
}
36
37
});
38
+ on('before:browser:launch', (browser = {}, launchOptions) => {
39
+ console.log('Launching browser:', browser.name);
40
+ console.log('Input args:', launchOptions.args);
41
+ if (browser.name === 'chrome') {
42
+ launchOptions.args.push('--disable-features=AutofillServerCommunication');
43
+ }
44
+ console.log('Actual args:', launchOptions.args);
45
+ return launchOptions;
46
+ });
47
},
48
49
0 commit comments