mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
290 B
Markdown
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<void>
|