mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
356 B
Markdown
20 lines
356 B
Markdown
---
|
|
sidebar_label: ElementHandle.isVisible
|
|
---
|
|
|
|
# ElementHandle.isVisible() method
|
|
|
|
Checks if an element is visible using the same mechanism as [ElementHandle.waitForSelector()](./puppeteer.elementhandle.waitforselector.md).
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class ElementHandle {
|
|
isVisible(): Promise<boolean>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<boolean>
|