Cypress · Method
cy.not
Cypress .not() removes matching elements from a DOM collection. Chain it from a command that yields DOM elements, then continue with commands or assertions.
Last updated
Syntax
.not(selector)
.not(selector, options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.contains()filter()