Table of Contents

Class UserContextInfo

Namespace
WebDriverBiDi.Browser
Assembly
WebDriverBiDi.dll

Represents the user context info for a browser.

public record UserContextInfo : IEquatable<UserContextInfo>
Inheritance
UserContextInfo
Implements
Inherited Members

Constructors

UserContextInfo(UserContextInfo)

protected UserContextInfo(UserContextInfo original)

Parameters

original UserContextInfo

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

UserContextId

Gets the ID of the user context.

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

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(UserContextInfo?)

public virtual bool Equals(UserContextInfo? other)

Parameters

other UserContextInfo

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(UserContextInfo?, UserContextInfo?)

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

Parameters

left UserContextInfo
right UserContextInfo

Returns

bool

operator !=(UserContextInfo?, UserContextInfo?)

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

Parameters

left UserContextInfo
right UserContextInfo

Returns

bool