puppeteer/new-docs/puppeteer.filechooser.accept.md

23 lines
509 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [FileChooser](./puppeteer.filechooser.md) &gt; [accept](./puppeteer.filechooser.accept.md)
## FileChooser.accept() method
<b>Signature:</b>
```typescript
accept(filePaths: string[]): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| filePaths | string\[\] | |
<b>Returns:</b>
Promise&lt;void&gt;