Class CapabilitiesResult
- Namespace
- WebDriverBiDi.Session
- Assembly
- WebDriverBiDi.dll
Object containing the capabilities returned by a new session.
public record CapabilitiesResult : IEquatable<CapabilitiesResult>
- Inheritance
-
CapabilitiesResult
- Implements
- Inherited Members
Constructors
CapabilitiesResult(CapabilitiesResult)
protected CapabilitiesResult(CapabilitiesResult original)
Parameters
originalCapabilitiesResult
Properties
AcceptInsecureCerts
Gets a value indicating whether the browser should accept insecure (self-signed) SSL certificates.
[JsonPropertyName("acceptInsecureCerts")]
[JsonRequired]
[JsonInclude]
public bool AcceptInsecureCerts { get; }
Property Value
AdditionalCapabilities
Gets a read-only dictionary of additional capabilities specified by this session.
[JsonIgnore]
public ReceivedDataDictionary AdditionalCapabilities { get; }
Property Value
BrowserName
Gets the name of the browser.
[JsonPropertyName("browserName")]
[JsonRequired]
[JsonInclude]
public string BrowserName { get; }
Property Value
BrowserVersion
Gets the version of the browser.
[JsonPropertyName("browserVersion")]
[JsonRequired]
[JsonInclude]
public string BrowserVersion { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
PlatformName
Gets the platform name.
[JsonPropertyName("platformName")]
[JsonRequired]
[JsonInclude]
public string PlatformName { get; }
Property Value
Proxy
Gets the proxy used by this session.
[JsonIgnore]
public ProxyConfigurationResult? Proxy { get; }
Property Value
SetWindowRect
Gets a value indicating whether this session supports setting the size of the browser window.
[JsonPropertyName("setWindowRect")]
[JsonRequired]
[JsonInclude]
public bool SetWindowRect { get; }
Property Value
UnhandledPromptBehavior
Gets the behavior of the session for unhandled user prompts.
[JsonIgnore]
public UserPromptHandlerResult? UnhandledPromptBehavior { get; }
Property Value
UserAgent
Gets a value containing the default user agent string for this browser.
[JsonPropertyName("userAgent")]
[JsonRequired]
[JsonInclude]
public string UserAgent { get; }
Property Value
WebSocketUrl
Gets a value indicating the WebSocket URL used by this connection.
[JsonPropertyName("webSocketUrl")]
[JsonInclude]
public string? WebSocketUrl { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CapabilitiesResult?)
public virtual bool Equals(CapabilitiesResult? other)
Parameters
otherCapabilitiesResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CapabilitiesResult?, CapabilitiesResult?)
public static bool operator ==(CapabilitiesResult? left, CapabilitiesResult? right)
Parameters
leftCapabilitiesResultrightCapabilitiesResult
Returns
operator !=(CapabilitiesResult?, CapabilitiesResult?)
public static bool operator !=(CapabilitiesResult? left, CapabilitiesResult? right)
Parameters
leftCapabilitiesResultrightCapabilitiesResult