puppeteer/docs/api/puppeteer.handlefor.md

263 B

sidebar_label
HandleFor

HandleFor type

Signature:

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

References: ElementHandle, JSHandle