mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-19 14:49:43 -05:00
410 B
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