24 lines
635 B
Markdown
24 lines
635 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [waitForXPath](./puppeteer.frame.waitforxpath.md)
|
||
|
|
||
|
## Frame.waitForXPath() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
waitForXPath(xpath: string, options: WaitForSelectorOptions): Promise<ElementHandle | null>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| xpath | string | |
|
||
|
| options | WaitForSelectorOptions | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<[ElementHandle](./puppeteer.elementhandle.md) \| null>
|
||
|
|