Table of Contents

Class Animation

Namespace
OpenQA.Selenium.DevTools.V147.Animation
Assembly
Selenium.WebDriver.dll

Animation instance.

public sealed class Animation
Inheritance
Animation
Inherited Members

Properties

CssId

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

[JsonPropertyName("cssId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? CssId { get; set; }

Property Value

string

CurrentTime

Animation's current time.

[JsonPropertyName("currentTime")]
public double CurrentTime { get; set; }

Property Value

double

Id

Animation's id.

[JsonPropertyName("id")]
public string Id { get; set; }

Property Value

string

Name

Animation's name.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

PausedState

Animation's internal paused state.

[JsonPropertyName("pausedState")]
public bool PausedState { get; set; }

Property Value

bool

PlayState

Animation's play state.

[JsonPropertyName("playState")]
public string PlayState { get; set; }

Property Value

string

PlaybackRate

Animation's playback rate.

[JsonPropertyName("playbackRate")]
public double PlaybackRate { get; set; }

Property Value

double

Source

Animation's source animation node.

[JsonPropertyName("source")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnimationEffect? Source { get; set; }

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).

[JsonPropertyName("startTime")]
public double StartTime { get; set; }

Property Value

double

Type

Animation type of Animation.

[JsonPropertyName("type")]
public AnimationTypeValues Type { get; set; }

Property Value

AnimationTypeValues

ViewOrScrollTimeline

View or scroll timeline

[JsonPropertyName("viewOrScrollTimeline")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ViewOrScrollTimeline? ViewOrScrollTimeline { get; set; }

Property Value

ViewOrScrollTimeline