Skip to main content
Version: 15.4.0

JSHandle.dispose() method

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

Signature:

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

Returns:

Promise<void>