Cypress · Senior · Question 1 of 76
What is the main architectural trade-off of Cypress running inside the browser?
- 1Full multi-tab control, but no access to the app's state
- 2Direct access to the app, but limits like one tab and same-origin rules
- 3Faster runs, but no way to stub any network requests at all
Show the answer
Correct answer: Direct access to the app, but limits like one tab and same-origin rules
Explanation
Running in the browser gives time travel, app access and reliable waits. The cost is single-tab control, origin limits and JavaScript-only tests.