2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [waitForFileChooser](./puppeteer.page.waitforfilechooser.md)
|
|
|
|
|
|
|
|
## Page.waitForFileChooser() method
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-06-26 07:24:56 +00:00
|
|
|
waitForFileChooser(options?: WaitTimeoutOptions): Promise<FileChooser>;
|
2020-06-04 14:56:45 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-26 07:24:56 +00:00
|
|
|
| options | [WaitTimeoutOptions](./puppeteer.waittimeoutoptions.md) | Optional waiting parameters |
|
2020-06-04 14:56:45 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<[FileChooser](./puppeteer.filechooser.md)<!-- -->>
|
|
|
|
|
2020-06-26 07:24:56 +00:00
|
|
|
Resolves after a page requests a file picker.
|
|
|
|
|