2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ElementHandle.asElement
|
|
|
|
---
|
|
|
|
|
|
|
|
# ElementHandle.asElement() method
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class ElementHandle {
|
2023-03-01 10:09:17 +00:00
|
|
|
asElement(): ElementHandle<ElementType>;
|
2022-07-05 13:41:43 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
2023-03-01 10:09:17 +00:00
|
|
|
[ElementHandle](./puppeteer.elementhandle.md)<ElementType>
|