Skip to main content
Version: 15.3.1

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>