chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / PageDomain / setInterceptFileChooserDialog

setInterceptFileChooserDialog

suspend fun setInterceptFileChooserDialog(input: SetInterceptFileChooserDialogRequest): Unit

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.

Official doc