Table of Contents

Class Source

Namespace
WebDriverBiDi.Script
Assembly
WebDriverBiDi.dll

Object representing the source for a script.

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

Constructors

Source(Source)

protected Source(Source original)

Parameters

original Source

Properties

BrowsingContextId

Gets the browsing context ID for a script.

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

RealmId

Gets the ID of the realm for a script.

[JsonPropertyName("realm")]
[JsonRequired]
[JsonInclude]
public string RealmId { get; }

Property Value

string

UserContextId

Gets the user context ID for a script.

[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(Source?)

public virtual bool Equals(Source? other)

Parameters

other Source

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 ==(Source?, Source?)

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

Parameters

left Source
right Source

Returns

bool

operator !=(Source?, Source?)

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

Parameters

left Source
right Source

Returns

bool