puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.jshandle.dispose.md
2022-11-03 11:02:28 +01:00

257 B

sidebar_label
JSHandle.dispose

JSHandle.dispose() method

Releases the object referenced by the handle for garbage collection.

Signature:

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

Returns:

Promise<void>