086c08998b
This adds the new docs that are generated by API Extractor via TSDoc. They are sparse because we do not yet use TSDoc in the codebase. This is the starting point and from here we can work through all the different classes and improve the documentation.
24 lines
653 B
Markdown
24 lines
653 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [waitForSelector](./puppeteer.frame.waitforselector.md)
|
|
|
|
## Frame.waitForSelector() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
waitForSelector(selector: string, options: WaitForSelectorOptions): Promise<ElementHandle | null>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| selector | string | |
|
|
| options | WaitForSelectorOptions | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<[ElementHandle](./puppeteer.elementhandle.md) \| null>
|
|
|