puppeteer/new-docs/puppeteer.elementhandle.aselement.md

16 lines
479 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