Files
cypress/docs/source/api/cypress-api/dom.md
T
2017-05-15 14:10:01 -04:00

410 B

title: dom comments: true

Cypress.Dom holds methods and logic related to DOM.

Cypress.Dom.isHidden( element )

Returns a boolean indicating whether an element is hidden.

Cypress internally uses this method everywhere to figure out whether an element is hidden.


Is Hidden Usage

var $el = $("#modal")

Cypress.Dom.isHidden($el) // => false