puppeteer/website/versioned_docs/version-10.0.0/puppeteer.jshandle.dispose.md

18 lines
459 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; [JSHandle](./puppeteer.jshandle.md) &gt; [dispose](./puppeteer.jshandle.dispose.md)
## JSHandle.dispose() method
Stops referencing the element handle, and resolves when the object handle is successfully disposed of.
<b>Signature:</b>
```typescript
dispose(): Promise<void>;
```
<b>Returns:</b>
Promise&lt;void&gt;