Class Animation
- java.lang.Object
-
- org.openqa.selenium.devtools.animation.Animation
-
@Beta public class Animation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Animation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Event<java.lang.String>animationCanceled()static Event<java.lang.String>animationCreated()static Event<Animation>animationStarted()static Command<java.lang.Void>disable()Disables animation domain notifications.static Command<java.lang.Void>enable()Enables animation domain notifications.static Command<java.lang.Number>getCurrentTime(java.lang.String id)Returns the current time of the an animation.static Command<java.lang.Number>getPlaybackRate()Gets the playback rate of the document timeline.static Command<java.lang.Void>releaseAnimations(java.util.List<java.lang.String> animations)Releases a set of animations to no longer be manipulated.static Command<RemoteObject>resolveAnimation(java.lang.String animationId)Gets the remote object of the Animation.static Command<java.lang.Void>seekAnimations(java.util.List<java.lang.String> animations, java.lang.Number currentTime)Seek a set of animations to a particular time within each animation.static Command<java.lang.Void>setPaused(java.util.List<java.lang.String> animations, java.lang.Boolean paused)Sets the paused state of a set of animations.static Command<java.lang.Void>setPlaybackRate(java.lang.Number playbackRate)Sets the playback rate of the document timeline.static Command<java.lang.Void>setTiming(java.lang.String animationId, java.lang.Number duration, java.lang.Number delay)Sets the timing of an animation node.
-
-
-
Method Detail
-
disable
public static Command<java.lang.Void> disable()
Disables animation domain notifications.
-
enable
public static Command<java.lang.Void> enable()
Enables animation domain notifications.
-
getCurrentTime
public static Command<java.lang.Number> getCurrentTime(java.lang.String id)
Returns the current time of the an animation.
-
getPlaybackRate
public static Command<java.lang.Number> getPlaybackRate()
Gets the playback rate of the document timeline.
-
releaseAnimations
public static Command<java.lang.Void> releaseAnimations(java.util.List<java.lang.String> animations)
Releases a set of animations to no longer be manipulated.
-
resolveAnimation
public static Command<RemoteObject> resolveAnimation(java.lang.String animationId)
Gets the remote object of the Animation.
-
seekAnimations
public static Command<java.lang.Void> seekAnimations(java.util.List<java.lang.String> animations, java.lang.Number currentTime)
Seek a set of animations to a particular time within each animation.
-
setPaused
public static Command<java.lang.Void> setPaused(java.util.List<java.lang.String> animations, java.lang.Boolean paused)
Sets the paused state of a set of animations.
-
setPlaybackRate
public static Command<java.lang.Void> setPlaybackRate(java.lang.Number playbackRate)
Sets the playback rate of the document timeline.
-
setTiming
public static Command<java.lang.Void> setTiming(java.lang.String animationId, java.lang.Number duration, java.lang.Number delay)
Sets the timing of an animation node.
-
animationCanceled
public static Event<java.lang.String> animationCanceled()
-
animationCreated
public static Event<java.lang.String> animationCreated()
-
-