chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / SetDownloadBehaviorRequest

SetDownloadBehaviorRequest

data class SetDownloadBehaviorRequest
Deprecated: Deprecated in the Chrome DevTools protocol

Request object containing input parameters for the PageDomain.setDownloadBehavior command.

Constructors

<init>

Request object containing input parameters for the PageDomain.setDownloadBehavior command.

SetDownloadBehaviorRequest(behavior: String, downloadPath: String? = null)

Properties

behavior

Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).

val behavior: String

downloadPath

The default path to save downloaded files to. This is requred if behavior is set to 'allow'

val downloadPath: String?