puppeteer/website/versioned_docs/version-10.0.0/puppeteer.elementhandle.aselement.md

16 lines
456 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ElementHandle](./puppeteer.elementhandle.md) &gt; [asElement](./puppeteer.elementhandle.aselement.md)
## ElementHandle.asElement() method
<b>Signature:</b>
```typescript
asElement(): ElementHandle<ElementType> | null;
```
<b>Returns:</b>
[ElementHandle](./puppeteer.elementhandle.md)&lt;ElementType&gt; \| null