Class DownloadBehavior
- Namespace
- WebDriverBiDi.Browser
- Assembly
- WebDriverBiDi.dll
Class describing the download behavior, allowed or denied, to be used for the browser.
[JsonDerivedType(typeof(DownloadBehaviorAllowed))]
[JsonDerivedType(typeof(DownloadBehaviorDenied))]
public class DownloadBehavior
- Inheritance
-
DownloadBehavior
- Derived
- Inherited Members
Constructors
DownloadBehavior(DownloadBehaviorType)
Initializes a new instance of the DownloadBehavior class.
protected DownloadBehavior(DownloadBehaviorType type)
Parameters
typeDownloadBehaviorTypeThe DownloadBehaviorType to which to set the download behavior.
Properties
Type
Gets the type of download behavior, allowed or denied.
[JsonPropertyName("type")]
public DownloadBehaviorType Type { get; }