Skip to content

Lupa API Reference / commands / FileChooserSetFilesOptions

Interface: FileChooserSetFilesOptions

Defined in: src/commands/file_chooser.ts:12

Options for setting files on an intercepted file chooser dialog.

Use-when

Use when specifying upload options such as timeout or noWaitAfter on a FileChooser instance.

Dont-use-when

Do not use for locator-level setInputFiles operations.

Properties

noWaitAfter?

optional noWaitAfter?: boolean

Defined in: src/commands/file_chooser.ts:16

Actions that initiate navigations are waiting for the navigation to finish and to return its result.


timeout?

optional timeout?: number

Defined in: src/commands/file_chooser.ts:21

Maximum time in milliseconds. Defaults to 30000.