puppeteer/docs/api/puppeteer.filechooser.cancel.md

20 lines
247 B
Markdown
Raw Normal View History

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