puppeteer/docs/api/puppeteer.filechooser.cancel.md
2023-10-06 08:28:19 +02:00

20 lines
247 B
Markdown

---
sidebar_label: FileChooser.cancel
---
# FileChooser.cancel() method
Closes the file chooser without selecting any files.
#### Signature:
```typescript
class FileChooser {
cancel(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;