SetDownloadBehaviorRequest

data class SetDownloadBehaviorRequest(behavior: String, browserContextId: BrowserContextID?, downloadPath: String?)

Represents request frame that can be used with Browser#setDownloadBehavior operation call.

Set the behavior when downloading a file.

See also

Constructors

SetDownloadBehaviorRequest
Link copied to clipboard
fun SetDownloadBehaviorRequest(behavior: String, browserContextId: BrowserContextID? = null, downloadPath: String? = null)

Properties

behavior
Link copied to clipboard
val behavior: String
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).
browserContextId
Link copied to clipboard
val browserContextId: BrowserContextID? = null
BrowserContext to set download behavior.
downloadPath
Link copied to clipboard
val downloadPath: String? = null
The default path to save downloaded files to.

Sources

jvm source
Link copied to clipboard