https://cypress.io logo
Hi All, any idea on how to run cypress tests in ch...
# i-need-help
r
I already have this in index.js file - module.exports = (on, config) => { on("before:browser:launch", (browser, launchOptions) => { console.log(launchOptions.args); if (browser.name === "chrome") { launchOptions.args.push("--incognito"); } return launchOptions; }); 2. Can i pass something in CLI like --incognito option, cypress gives error unknown incognito option 3. Also the cypress open option doesn't seem to work - npx cypress open --browser chrome --config chromeWebSecurity=false --incognito