Skip to main content

JSHandle.dispose() method

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

Signature:

dispose(): Promise<void>;

Returns:

Promise<void>