Skip to main content
Version: 17.1.1

JSHandle.dispose() method

Releases the object referenced by the handle for garbage collection.

Signature:

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

Returns:

Promise<void>