Skip to main content
Version: Next

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>