Cypress · Method
cy.find
cy.find() gets descendant DOM elements that match a selector. It searches at every level below the current subject, unlike .children(), which checks only one level.
Last updated
- Since
- 12.0.0
Syntax
.find(selector)
.find(selector, options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.get()cy.children()cy.shadow()cy.within()