Cypress · Matcher
be.visible
Use .should('be.visible') to verify that a queried DOM element is visible. Cypress retries the assertion until it passes or times out.
Last updated
Syntax
cy.get(selector).should('be.visible')In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cy.get()should()Chai-jQueryVisibility