Cypress · Method
cy.last
Selects the final DOM element from a Cypress subject set. It can be chained with assertions, queries, and actions.
Last updated
- Since
- 12.0.0
Syntax
.last()
.last(options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
.eq().filter().first()