mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(new): migrate Page.ts to TSDoc (part 0 / 2) (#6104)
* docs(new): migrate Page.ts to TSDoc (part 0 / 2) Co-authored-by: Changhao Han <changhaohan@chromium.org>
This commit is contained in:
@@ -7,18 +7,18 @@
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
waitForFileChooser(options?: {
|
||||
timeout?: number;
|
||||
}): Promise<FileChooser>;
|
||||
waitForFileChooser(options?: WaitTimeoutOptions): Promise<FileChooser>;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| options | { timeout?: number; } | |
|
||||
| options | [WaitTimeoutOptions](./puppeteer.waittimeoutoptions.md) | Optional waiting parameters |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
Promise<[FileChooser](./puppeteer.filechooser.md)<!-- -->>
|
||||
|
||||
Resolves after a page requests a file picker.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user