mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
d963fcdd80
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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>
|