Class ViewOrScrollTimeline

java.lang.Object
org.openqa.selenium.devtools.v123.animation.model.ViewOrScrollTimeline

public class ViewOrScrollTimeline extends Object
Timeline instance
  • Constructor Details

  • Method Details

    • getSourceNodeId

      public Optional<BackendNodeId> getSourceNodeId()
      Scroll container node
    • getStartOffset

      public Optional<Number> getStartOffset()
      Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin.
    • getEndOffset

      public Optional<Number> getEndOffset()
      Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin.
    • getSubjectNodeId

      public Optional<BackendNodeId> getSubjectNodeId()
      The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline
    • getAxis

      public ScrollOrientation getAxis()
      Orientation of the scroll