Class CapabilityRequest
- Namespace
- WebDriverBiDi.Session
- Assembly
- WebDriverBiDi.dll
Object containing capabilities requested when starting a new session.
public class CapabilityRequest
- Inheritance
-
CapabilityRequest
- Inherited Members
Constructors
CapabilityRequest()
public CapabilityRequest()
Properties
AcceptInsecureCerts
Gets or sets a value indicating whether the browser should accept insecure (self-signed) SSL certificates.
[JsonPropertyName("acceptInsecureCerts")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? AcceptInsecureCerts { get; set; }
Property Value
- bool?
AdditionalCapabilities
Gets the dictionary containing additional capabilities to use with this session.
[JsonExtensionData]
public Dictionary<string, object?> AdditionalCapabilities { get; }
Property Value
Remarks
An entry may not reuse the name of a property this type already serializes; doing so would write that name twice in the same JSON object, and a JSON object with a duplicate name has no defined meaning. Sending a command that contains such an entry throws WebDriverBiDiSerializationException rather than emitting the ambiguous payload. Set the typed property instead.
BrowserName
Gets or sets the name of the browser.
[JsonPropertyName("browserName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? BrowserName { get; set; }
Property Value
BrowserVersion
Gets or sets the version of the browser.
[JsonPropertyName("browserVersion")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? BrowserVersion { get; set; }
Property Value
PlatformName
Gets or sets the platform name.
[JsonPropertyName("platformName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? PlatformName { get; set; }
Property Value
Proxy
Gets or sets the proxy to use with this session.
[JsonPropertyName("proxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ProxyConfiguration? Proxy { get; set; }
Property Value
UnhandledPromptBehavior
Gets or sets the behavior of the session for handling user prompts.
[JsonPropertyName("unhandledPromptBehavior")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandler? UnhandledPromptBehavior { get; set; }