Skip to main content
Version: 24.39.1

ElementHandle.isHidden() method

An element is considered to be hidden if at least one of the following is true:

  • the element has no computed styles.

  • the element has an empty bounding client rect.

  • the element's visibility is hidden or collapse.

Signature

class ElementHandle {
isHidden(): Promise<boolean>;
}

Returns:

Promise<boolean>