Home > puppeteer > Frame > waitForXPath
Signature:
waitForXPath(xpath: string, options?: WaitForSelectorOptions): Promise<ElementHandle | null>;
Parameter | Type | Description |
---|---|---|
xpath | string | |
options | WaitForSelectorOptions |
Returns:
Promise<ElementHandle | null>