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:
Changhao Han
2020-06-26 09:24:56 +02:00
committed by GitHub
parent df96f16921
commit adeffbaac1
34 changed files with 394 additions and 37 deletions

View File

@@ -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&lt;[FileChooser](./puppeteer.filechooser.md)<!-- -->&gt;
Resolves after a page requests a file picker.