Table of Contents

Class Animation

Namespace
Selenium.WebDriver.BiDi.Cdp.Animation
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Animation instance.

public sealed record Animation : IEquatable<Animation>
Inheritance
Animation
Implements
Inherited Members

Constructors

Animation(string, string, bool, string, double, double, double, string)

Animation instance.

public Animation(string Id, string Name, bool PausedState, string PlayState, double PlaybackRate, double StartTime, double CurrentTime, string Type)

Parameters

Id string

Animation's id.

Name string

Animation's name.

PausedState bool

Animation's internal paused state.

PlayState string

Animation's play state.

PlaybackRate double

Animation's playback rate.

StartTime double

Animation's start time. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).

CurrentTime double

Animation's current time.

Type string

Animation type of Animation.

Properties

CssId

A unique ID for Animation representing the sources that triggered this CSS animation/transition.

public string? CssId { get; init; }

Property Value

string

CurrentTime

Animation's current time.

public double CurrentTime { get; init; }

Property Value

double

Id

Animation's id.

public string Id { get; init; }

Property Value

string

Name

Animation's name.

public string Name { get; init; }

Property Value

string

PausedState

Animation's internal paused state.

public bool PausedState { get; init; }

Property Value

bool

PlayState

Animation's play state.

public string PlayState { get; init; }

Property Value

string

PlaybackRate

Animation's playback rate.

public double PlaybackRate { get; init; }

Property Value

double

Source

Animation's source animation node.

public AnimationEffect? Source { get; init; }

Property Value

AnimationEffect

StartTime

Animation's start time. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).

public double StartTime { get; init; }

Property Value

double

Type

Animation type of Animation.

public string Type { get; init; }

Property Value

string

ViewOrScrollTimeline

View or scroll timeline

public ViewOrScrollTimeline? ViewOrScrollTimeline { get; init; }

Property Value

ViewOrScrollTimeline