2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ElementHandle.asElement
|
|
|
|
---
|
|
|
|
|
|
|
|
# ElementHandle.asElement() method
|
|
|
|
|
2022-10-24 14:23:24 +00:00
|
|
|
**Signature:**
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class ElementHandle {
|
|
|
|
asElement(): ElementHandle<ElementType> | null;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
[ElementHandle](./puppeteer.elementhandle.md)<ElementType> \| null
|