Cypress · Method
cy.title
cy.title() gets the title of the current page. You can use it with an assertion to check the title in an end-to-end test.
Last updated
Syntax
cy.title()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.visit()cy.should()Cypress Test RunnerApplication Under Test