Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/src/JSHandle.ts>JSHandle#dispose

Headless Chrome Deno API
Latest
method JSHandle.prototype.dispose
import { JSHandle } from "https://deno.land/x/pptr@1.2.0/src/JSHandle.ts";

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

Returns

Promise<void>