data class SetDownloadBehaviorRequest
(source)
Represents request frame that can be used with Page#setDownloadBehavior operation call.
Set the behavior when downloading a file.
Link
Page#setDownloadBehavior method documentation.
See Also
PageOperations.setDownloadBehavior
SetDownloadBehaviorRequest(behavior: String, downloadPath: String? = null)
Represents request frame that can be used with Page#setDownloadBehavior operation call. |
val behavior: String
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). |
|
val downloadPath: String?
The default path to save downloaded files to. This is requred if behavior is set to 'allow' |