java.lang.Object
org.openqa.selenium.devtools.v85.animation.Animation

@Beta public class Animation extends Object
  • Constructor Details

    • Animation

      public Animation()
  • Method Details

    • disable

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

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

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

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

      public static org.openqa.selenium.devtools.Command<Void> releaseAnimations(List<String> animations)
      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

      public static org.openqa.selenium.devtools.Command<Void> setPlaybackRate(Number playbackRate)
      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

      public static org.openqa.selenium.devtools.Event<String> animationCanceled()
    • animationCreated

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

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