Home > puppeteer > FileChooser > cancel FileChooser.cancel() method Closes the file chooser without selecting any files. Signature: cancel(): Promise<void>; Returns: Promise<void>