Skip to content
masterclass Buddy

Cypress · Method

cy.its

cy.its() reads a property from the value yielded by the previous Cypress command. It supports names, array indexes, and nested paths, then yields the selected value for more commands or assertions.

Last updated

Since
3.7.0 for Number propertyName; 3.8.0 for the options argumen

Syntax

.its(propertyName)
.its(propertyName, options)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • .invoke()
  • .then()
  • cy.wrap()

Source: cy.its() | Cypress API Documentation. Checked 2026-11-03.