Class 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 org.openqa.selenium.devtools.Event<java.lang.String> animationCanceled()  
      static org.openqa.selenium.devtools.Event<java.lang.String> animationCreated()  
      static org.openqa.selenium.devtools.Event<Animation> animationStarted()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      Disables animation domain notifications.
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
      Enables animation domain notifications.
      static org.openqa.selenium.devtools.Command<java.lang.Number> getCurrentTime​(java.lang.String id)
      Returns the current time of the an animation.
      static org.openqa.selenium.devtools.Command<java.lang.Number> getPlaybackRate()
      Gets the playback rate of the document timeline.
      static org.openqa.selenium.devtools.Command<java.lang.Void> releaseAnimations​(java.util.List<java.lang.String> animations)
      Releases a set of animations to no longer be manipulated.
      static org.openqa.selenium.devtools.Command<RemoteObject> resolveAnimation​(java.lang.String animationId)
      Gets the remote object of the Animation.
      static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Command<java.lang.Void> setPlaybackRate​(java.lang.Number playbackRate)
      Sets the playback rate of the document timeline.
      static org.openqa.selenium.devtools.Command<java.lang.Void> setTiming​(java.lang.String animationId, java.lang.Number duration, java.lang.Number delay)
      Sets the timing of an animation node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Animation

        public Animation()
    • Method Detail

      • disable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
        Disables animation domain notifications.
      • enable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
        Enables animation domain notifications.
      • getCurrentTime

        public static org.openqa.selenium.devtools.Command<java.lang.Number> getCurrentTime​(java.lang.String id)
        Returns the current time of the an animation.
      • getPlaybackRate

        public static org.openqa.selenium.devtools.Command<java.lang.Number> getPlaybackRate()
        Gets the playback rate of the document timeline.
      • releaseAnimations

        public static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Command<RemoteObject> resolveAnimation​(java.lang.String animationId)
        Gets the remote object of the Animation.
      • seekAnimations

        public static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Command<java.lang.Void> setPlaybackRate​(java.lang.Number playbackRate)
        Sets the playback rate of the document timeline.
      • setTiming

        public static org.openqa.selenium.devtools.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 org.openqa.selenium.devtools.Event<java.lang.String> animationCanceled()
      • animationCreated

        public static org.openqa.selenium.devtools.Event<java.lang.String> animationCreated()
      • animationStarted

        public static org.openqa.selenium.devtools.Event<Animation> animationStarted()