Table of Contents

Class Screencast

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

Constructors

Screencast(IBiDi, string)

public Screencast(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(Screencast?)

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

public bool Equals(Screencast? other)

Parameters

other Screencast

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.

StopAsync(StopScreencastOptions?, CancellationToken)

public Task<StopScreencastResult> StopAsync(StopScreencastOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options StopScreencastOptions
cancellationToken CancellationToken

Returns

Task<StopScreencastResult>