Skip to content
masterclass Buddy

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.

Subscribe
  • cy.visit()
  • cy.should()
  • Cypress Test Runner
  • Application Under Test

Source: Open mode in the Cypress app | Cypress Documentation. Checked 2026-11-03.