Table of Contents

Class ViewOrScrollTimeline

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

Timeline instance

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

Constructors

ViewOrScrollTimeline(ScrollOrientation)

Timeline instance

public ViewOrScrollTimeline(ScrollOrientation Axis)

Parameters

Axis ScrollOrientation

Orientation of the scroll

Properties

Axis

Orientation of the scroll

public ScrollOrientation Axis { get; init; }

Property Value

ScrollOrientation

EndOffset

Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin.

public double? EndOffset { get; init; }

Property Value

double?

SourceNodeId

Scroll container node

public BackendNodeId? SourceNodeId { get; init; }

Property Value

BackendNodeId

StartOffset

Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin.

public double? StartOffset { get; init; }

Property Value

double?

SubjectNodeId

The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline

public BackendNodeId? SubjectNodeId { get; init; }

Property Value

BackendNodeId