Cypress · Junior · Question 63 of 75

What does cy.reload() do?

Show the answer

Correct answer: Reloads the current page

Explanation

It's useful to test that state survives a refresh, such as saved preferences.

Further reading

Problem with a question

Cypress · Junior · question 63

Test yourself

Take the Cypress · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz