puppeteer/docs/api/puppeteer.elementhandle.aselement.md

18 lines
266 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ElementHandle.asElement
---
# ElementHandle.asElement() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class ElementHandle {
asElement(): ElementHandle<ElementType>;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
[ElementHandle](./puppeteer.elementhandle.md)&lt;ElementType&gt;