Class ClientWindowInfo
- Namespace
- WebDriverBiDi.Browser
- Assembly
- WebDriverBiDi.dll
A class representing data about a browser's enclosing window.
public record ClientWindowInfo : IEquatable<ClientWindowInfo>
- Inheritance
-
ClientWindowInfo
- Implements
- Inherited Members
Constructors
ClientWindowInfo(ClientWindowInfo)
protected ClientWindowInfo(ClientWindowInfo original)
Parameters
originalClientWindowInfo
Properties
ClientWindowId
Gets the ID of the client window.
[JsonPropertyName("clientWindow")]
[JsonInclude]
[JsonRequired]
public string ClientWindowId { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Height
Gets the value in CSS pixels of the height of the client window.
[JsonPropertyName("height")]
[JsonInclude]
[JsonRequired]
public ulong Height { get; }
Property Value
IsActive
Gets a value indicating whether a client window is active, usually implying it has focus in the operating system.
[JsonPropertyName("active")]
[JsonInclude]
[JsonRequired]
public bool IsActive { get; }
Property Value
State
Gets a value indicating the state of the client window.
[JsonPropertyName("state")]
[JsonInclude]
[JsonRequired]
public ClientWindowState State { get; }
Property Value
Width
Gets the value in CSS pixels of the width of the client window.
[JsonPropertyName("width")]
[JsonInclude]
[JsonRequired]
public ulong Width { get; }
Property Value
X
Gets the value in CSS pixels of the left edge of the client window.
[JsonPropertyName("x")]
[JsonInclude]
[JsonRequired]
public long X { get; }
Property Value
Y
Gets the value in CSS pixels of the top edge of the client window.
[JsonPropertyName("y")]
[JsonInclude]
[JsonRequired]
public long Y { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ClientWindowInfo?)
public virtual bool Equals(ClientWindowInfo? other)
Parameters
otherClientWindowInfo
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 ==(ClientWindowInfo?, ClientWindowInfo?)
public static bool operator ==(ClientWindowInfo? left, ClientWindowInfo? right)
Parameters
leftClientWindowInforightClientWindowInfo
Returns
operator !=(ClientWindowInfo?, ClientWindowInfo?)
public static bool operator !=(ClientWindowInfo? left, ClientWindowInfo? right)
Parameters
leftClientWindowInforightClientWindowInfo