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

233 B

sidebar_label
FileChooser.cancel

FileChooser.cancel() method

Closes the file chooser without selecting any files.

Signature:

class FileChooser {cancel(): void;}

Returns:

void