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
orcollapse
.
Signature
class ElementHandle {
isHidden(): Promise<boolean>;
}
Returns:
Promise<boolean>