Class WindowRealmInfo
- Namespace
- WebDriverBiDi.Script
- Assembly
- WebDriverBiDi.dll
Object representing a window realm for executing script.
public record WindowRealmInfo : RealmInfo, IEquatable<RealmInfo>, IEquatable<WindowRealmInfo>
- Inheritance
-
WindowRealmInfo
- Implements
- Inherited Members
Constructors
WindowRealmInfo(WindowRealmInfo)
protected WindowRealmInfo(WindowRealmInfo original)
Parameters
originalWindowRealmInfo
Properties
BrowsingContextId
Gets the ID of the browsing context containing this window realm.
[JsonPropertyName("context")]
[JsonInclude]
[JsonRequired]
public string BrowsingContextId { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Sandbox
Gets the sandbox name for the realm.
[JsonPropertyName("sandbox")]
[JsonInclude]
public string? Sandbox { get; }
Property Value
UserContextId
Gets the ID of the user context containing this window realm.
[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(RealmInfo?)
public override sealed bool Equals(RealmInfo? other)
Parameters
otherRealmInfo
Returns
Equals(WindowRealmInfo?)
public virtual bool Equals(WindowRealmInfo? other)
Parameters
otherWindowRealmInfo
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(WindowRealmInfo?, WindowRealmInfo?)
public static bool operator ==(WindowRealmInfo? left, WindowRealmInfo? right)
Parameters
leftWindowRealmInforightWindowRealmInfo
Returns
operator !=(WindowRealmInfo?, WindowRealmInfo?)
public static bool operator !=(WindowRealmInfo? left, WindowRealmInfo? right)
Parameters
leftWindowRealmInforightWindowRealmInfo