2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ElementHandle.asElement
|
|
|
|
---
|
|
|
|
|
|
|
|
# ElementHandle.asElement() method
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class ElementHandle {
|
2023-03-06 13:53:56 +00:00
|
|
|
asElement(): ElementHandle<ElementType>;
|
2022-08-06 14:49:20 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
2023-03-06 13:53:56 +00:00
|
|
|
[ElementHandle](./puppeteer.elementhandle.md)<ElementType>
|