puppeteer/docs/api/puppeteer.jshandle.dispose.md

266 B

sidebar_label
JSHandle.dispose

JSHandle.dispose() method

Releases the object referenced by the handle for garbage collection.

Signature:

class JSHandle {
  abstract dispose(): Promise<void>;
}

Returns:

Promise<void>