Cypress · Junior · Question 13 of 75

How do you press Enter after typing?

Show the answer

Correct answer: .type('query{enter}')

Explanation

Special sequences like {enter}, {esc} and {selectall} go inside .type().

Further reading

Problem with a question

Cypress · Junior · question 13

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