Class SetDownloadBehaviorCommandSettings
Set the behavior when downloading a file.
public sealed class SetDownloadBehaviorCommandSettings : ICommand
- Inheritance
-
SetDownloadBehaviorCommandSettings
- Implements
- Inherited Members
Properties
Behavior
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).
[JsonPropertyName("behavior")]
public string Behavior { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
DownloadPath
The default path to save downloaded files to. This is required if behavior is set to 'allow'
[JsonPropertyName("downloadPath")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DownloadPath { get; set; }