New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromeWebSecurity:false is not working #19435
Comments
I believe you're running into our current multi-domain limitation. We're currently working on supporting multi-domain. Follow #17336 for progress updates. For more info see our current multi-domain limitation documentation |
… [+] WARNING: THIS DOES NOT WORK This is Cypress documented workaround: https://docs.cypress.io/guides/guides/web-security#Set-chromeWebSecurity-to-false ...but it doesn't work: cypress-io/cypress#715 cypress-io/cypress#19435
@mjhenkes, Cypress 11.x is out and this is still an issue. |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
bump |
@NorseGaud @varshanharshank would either of you be able to provide a reproduction of the issue with the latest version of Cypress? |
Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen. |
Current behavior
I had set the attribute chromeWebSecurity:false in cypress.json. But when i execute my test, it is throwing the below error.
Note: In my script, two different urls.
CypressError:
cy.visit()
failed because you are attempting to visit a URL that is of a different origin.The new URL is considered a different origin because the following parts of the URL are different:
You may only
cy.visit()
same-origin URLs within a single test.Desired behavior
It should consider the chromeWebSecurity:false and able to navigate different domains
Test code to reproduce
I am running scripts in BDD style .
Cypress Version
9.1.1
Other
No response
The text was updated successfully, but these errors were encountered: