Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 636 Bytes

puppeteer.frame.waitforxpath.md

File metadata and controls

23 lines (14 loc) · 636 Bytes

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>