Returns input element associated with this file chooser.
Sets the value of the file input this chooser is associated with. If some of the filePaths
are relative paths,
then they are resolved relative to the current working directory. For empty array, clears the selected files.
Optional
options: { Optional
Optional
noActions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You
can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as
navigating to inaccessible pages. Defaults to false
.
Optional
timeout?: numberMaximum time in milliseconds. Defaults to 0
- no timeout. The default value can be changed via actionTimeout
option in the config, or by using the
browserContext.setDefaultTimeout(timeout)
or page.setDefaultTimeout(timeout) methods.
Generated using TypeDoc
FileChooser objects are dispatched by the page in the page.on('filechooser') event.