Created
April 11, 2020 22:16
-
-
Save CharlieGreenman/2a30d966cb7cfc77bcb14161468a7fbc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (on, config) => { | |
on('before:browser:launch', (browser = {}, args) => { | |
console.log(config, browser, args); | |
if (browser.name === 'chrome') { | |
args.push("--disable-features=CrossSiteDocumentBlockingIfIsolating,CrossSiteDocumentBlockingAlways,IsolateOrigins,site-per-process"); | |
args.push("--load-extension=cypress/extensions/Ignore-X-Frame-headers_v1.1"); | |
} | |
return args; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment