Cypress · Senior · Question 27 of 76
What is the risk of setting chromeWebSecurity: false?
- 1It makes Cypress run only in Firefox
- 2Tests may pass in conditions real browsers would block
- 3It disables screenshots for all failing tests
Show the answer
Correct answer: Tests may pass in conditions real browsers would block
Explanation
Turning off same-origin checks hides real CORS or iframe problems. Prefer cy.origin or fixing the setup.