pl.wendigo.chrome.api.page / HandleFileChooserRequest

HandleFileChooserRequest

data class HandleFileChooserRequest (source)

Represents request frame that can be used with Page#handleFileChooser operation call.

Accepts or cancels an intercepted file chooser dialog.

Link
Page#handleFileChooser method documentation.

See Also

PageOperations.handleFileChooser

Constructors

<init>

HandleFileChooserRequest(action: String, files: List<String>? = null)

Represents request frame that can be used with Page#handleFileChooser operation call.

Properties

action

val action: String

files

val files: List<String>?

Array of absolute file paths to set, only respected with accept action.