mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
654 B
654 B
sidebar_label
| sidebar_label |
|---|
| ElementHandle.isVisible |
ElementHandle.isVisible() method
An element is considered to be visible if all of the following is true:
-
the element has computed styles.
-
the element has a non-empty bounding client rect.
-
the element's visibility is not
hiddenorcollapse.
Signature
class ElementHandle {
isVisible(): Promise<boolean>;
}
Returns:
Promise<boolean>