Table of Contents

Class Channel

Namespace
OpenQA.Selenium.BiDi.Script
Assembly
Selenium.WebDriver.dll
[JsonConverter(typeof(Channel.Converter))]
public sealed record Channel : IIdentifiable, IEquatable<Channel>
Inheritance
Channel
Implements
Inherited Members

Constructors

Channel(IBiDi, string)

public Channel(IBiDi bidi, string id)

Parameters

bidi IBiDi
id string

Properties

BiDi

[JsonIgnore]
public IBiDi BiDi { get; }

Property Value

IBiDi

Id

public string Id { get; }

Property Value

string

Methods

Equals(Channel?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Channel? other)

Parameters

other Channel

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.