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