mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
22 lines
434 B
Markdown
22 lines
434 B
Markdown
|
---
|
||
|
sidebar_label: SerializedAXNode.elementHandle
|
||
|
---
|
||
|
|
||
|
# SerializedAXNode.elementHandle() method
|
||
|
|
||
|
Get an ElementHandle for this AXNode if available.
|
||
|
|
||
|
If the underlying DOM element has been disposed, the method might return an error.
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
interface SerializedAXNode {
|
||
|
elementHandle(): Promise<ElementHandle | null>;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
Promise<[ElementHandle](./puppeteer.elementhandle.md) \| null>
|