sidebar_label JSHandle.dispose 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>