Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method JSHandle.prototype.dispose
Re-export
import { JSHandle } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Stops referencing the element handle, and resolves when the object handle is successfully disposed of.

Returns

Promise<void>