Table of Contents

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

original WindowRealmInfo

Properties

BrowsingContextId

Gets the ID of the browsing context containing this window realm.

[JsonPropertyName("context")]
[JsonInclude]
[JsonRequired]
public string BrowsingContextId { get; }

Property Value

string

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Sandbox

Gets the sandbox name for the realm.

[JsonPropertyName("sandbox")]
[JsonInclude]
public string? Sandbox { get; }

Property Value

string

UserContextId

Gets the ID of the user context containing this window realm.

[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(RealmInfo?)

public override sealed bool Equals(RealmInfo? other)

Parameters

other RealmInfo

Returns

bool

Equals(WindowRealmInfo?)

public virtual bool Equals(WindowRealmInfo? other)

Parameters

other WindowRealmInfo

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(WindowRealmInfo?, WindowRealmInfo?)

public static bool operator ==(WindowRealmInfo? left, WindowRealmInfo? right)

Parameters

left WindowRealmInfo
right WindowRealmInfo

Returns

bool

operator !=(WindowRealmInfo?, WindowRealmInfo?)

public static bool operator !=(WindowRealmInfo? left, WindowRealmInfo? right)

Parameters

left WindowRealmInfo
right WindowRealmInfo

Returns

bool