Class Animation
java.lang.Object
org.openqa.selenium.devtools.v126.animation.model.Animation
Animation instance.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAnimation
(String id, String name, Boolean pausedState, String playState, Number playbackRate, Number startTime, Number currentTime, Animation.Type type, Optional<AnimationEffect> source, Optional<String> cssId, Optional<ViewOrScrollTimeline> viewOrScrollTimeline) -
Method Summary
Modifier and TypeMethodDescriptiongetCssId()
A unique ID for `Animation` representing the sources that triggered this CSS animation/transition.`Animation`'s current time.getId()
`Animation`'s id.getName()
`Animation`'s name.`Animation`'s internal paused state.`Animation`'s playback rate.`Animation`'s play state.`Animation`'s source animation node.`Animation`'s start time.getType()
Animation type of `Animation`.View or scroll timeline
-
Constructor Details
-
Animation
public Animation(String id, String name, Boolean pausedState, String playState, Number playbackRate, Number startTime, Number currentTime, Animation.Type type, Optional<AnimationEffect> source, Optional<String> cssId, Optional<ViewOrScrollTimeline> viewOrScrollTimeline)
-
-
Method Details
-
getId
`Animation`'s id. -
getName
`Animation`'s name. -
getPausedState
`Animation`'s internal paused state. -
getPlayState
`Animation`'s play state. -
getPlaybackRate
`Animation`'s playback rate. -
getStartTime
`Animation`'s start time. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists). -
getCurrentTime
`Animation`'s current time. -
getType
Animation type of `Animation`. -
getSource
`Animation`'s source animation node. -
getCssId
A unique ID for `Animation` representing the sources that triggered this CSS animation/transition. -
getViewOrScrollTimeline
View or scroll timeline
-