Skip to main content
Version: 21.3.6

HandleFor type

Signature:

export type HandleFor<T> = T extends Node ? ElementHandle<T> : JSHandle<T>;

References: ElementHandle, JSHandle