SetDownloadBehaviorRequest

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

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

Set the behavior when downloading a file.

See also

Constructors

SetDownloadBehaviorRequest
Link copied to clipboard
fun SetDownloadBehaviorRequest(behavior: String, 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).
downloadPath
Link copied to clipboard
val downloadPath: String? = null
The default path to save downloaded files to.

Sources

jvm source
Link copied to clipboard