Home > puppeteer > Frame > waitFor
Signature:
waitFor(selectorOrFunctionOrTimeout: string | number | Function, options?: {}, ...args: unknown[]): Promise<JSHandle | null>;
Parameter | Type | Description |
---|---|---|
selectorOrFunctionOrTimeout | string | number | Function | |
options | {} | |
args | unknown[] |
Returns:
Promise<JSHandle | null>