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
noThis option has no effect.
This option has no effect.
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.