pl.wendigo.chrome.api.page / SetInterceptFileChooserDialogRequest

SetInterceptFileChooserDialogRequest

data class SetInterceptFileChooserDialogRequest (source)

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

Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event Page.fileChooserOpened is emitted. File chooser can be handled with page.handleFileChooser command.

Link
Page#setInterceptFileChooserDialog method documentation.

See Also

PageOperations.setInterceptFileChooserDialog

Constructors

<init>

SetInterceptFileChooserDialogRequest(enabled: Boolean)

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

Properties

enabled

val enabled: Boolean