0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/new-docs/puppeteer.frame.waitforxpath.md

636 B

Home > puppeteer > Frame > waitForXPath

Frame.waitForXPath() method

Signature:

waitForXPath(xpath: string, options?: WaitForSelectorOptions): Promise<ElementHandle | null>;

Parameters

Parameter Type Description
xpath string
options WaitForSelectorOptions

Returns:

Promise<ElementHandle | null>