Cypress · Junior · Question 64 of 75
What does cy.go('back') do?
- 1Undoes the last text that was typed
- 2Navigates back in browser history
- 3Re-runs the previous test in the spec
Show the answer
Correct answer: Navigates back in browser history
Explanation
It helps test history handling and that forms keep or reset data correctly.