puppeteer/docs/api/puppeteer.jshandle.dispose.md
2022-07-05 15:41:43 +02:00

20 lines
290 B
Markdown

---
sidebar_label: JSHandle.dispose
---
# JSHandle.dispose() method
Stops referencing the element handle, and resolves when the object handle is successfully disposed of.
**Signature:**
```typescript
class JSHandle {
dispose(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;