Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 736 Bytes

puppeteer.page.waitforxpath.md

File metadata and controls

27 lines (18 loc) · 736 Bytes

Home > puppeteer > Page > waitForXPath

Page.waitForXPath() method

Signature:

waitForXPath(xpath: string, options?: {
        visible?: boolean;
        hidden?: boolean;
        timeout?: number;
    }): Promise<ElementHandle | null>;

Parameters

Parameter Type Description
xpath string
options { visible?: boolean; hidden?: boolean; timeout?: number; }

Returns:

Promise<ElementHandle | null>