Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 787 Bytes

puppeteer.frame.waitforfunction.md

File metadata and controls

27 lines (18 loc) · 787 Bytes

Home > puppeteer > Frame > waitForFunction

Frame.waitForFunction() method

Signature:

waitForFunction(pageFunction: Function | string, options?: {
        polling?: string | number;
        timeout?: number;
    }, ...args: unknown[]): Promise<JSHandle>;

Parameters

Parameter Type Description
pageFunction Function | string
options { polling?: string | number; timeout?: number; }
args unknown[]

Returns:

Promise<JSHandle>