Skip to main content
Version: 20.8.2

HandleFor type

Signature:

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

References: ElementHandle, JSHandle