Testing · Senior · Question 56 of 75
What does cy.origin() solve?
- ✓Correct answer: Running commands on another origin within one test, e.g. a third-party login page
- 2Mocking the
Originheader - 3Running tests on a different server
Explanation
Playwright doesn't need it: it controls the browser from outside and works with any origins and tabs.