puppeteer/new-docs/puppeteer.elementhandle.uploadfile.md

23 lines
536 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; [ElementHandle](./puppeteer.elementhandle.md) &gt; [uploadFile](./puppeteer.elementhandle.uploadfile.md)
## ElementHandle.uploadFile() method
<b>Signature:</b>
```typescript
uploadFile(...filePaths: string[]): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| filePaths | string\[\] | |
<b>Returns:</b>
Promise&lt;void&gt;