blob: d9812c23359732a38d7d686a9da3e14056cadc0d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class AnimationAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class AnimationAdapter ">
<meta name="description" content="Represents an adapter for the Animation domain to simplify the command interface.">
<link rel="icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:rel" content="../">
<meta name="docfx:docurl" content="https://github.com/SeleniumHQ/selenium/new/trunk/apiSpec/new?filename=OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../images/logo.svg" alt="Selenium .NET API">
Selenium .NET API
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter">
<h1 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter" class="text-break">
Class AnimationAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L13"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="OpenQA.html">OpenQA</a>.<a class="xref" href="OpenQA.Selenium.html">Selenium</a>.<a class="xref" href="OpenQA.Selenium.DevTools.html">DevTools</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V85.html">V85</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.html">Animation</a></dd></dl>
<dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the Animation domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class AnimationAdapter</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">AnimationAdapter</span></div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
AnimationAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L23"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the AnimationAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public AnimationAdapter(IDevToolsSession session)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>session</code> <a class="xref" href="OpenQA.Selenium.DevTools.IDevToolsSession.html">IDevToolsSession</a></dt>
<dd><p>The IDevToolsSession to be used with this adapter.</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Session">
Session
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L35"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Gets the DevToolsSession associated with the adapter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IDevToolsSession Session { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="OpenQA.Selenium.DevTools.IDevToolsSession.html">IDevToolsSession</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Disable_OpenQA_Selenium_DevTools_V85_Animation_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Disable(OpenQA.Selenium.DevTools.V85.Animation.DisableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Disable(DisableCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L56"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>disable</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DisableCommandResponse&gt; Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.DisableCommandSettings.html">DisableCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_Enable_OpenQA_Selenium_DevTools_V85_Animation_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.Enable(OpenQA.Selenium.DevTools.V85.Animation.EnableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Enable(EnableCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L63"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>enable</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EnableCommandResponse&gt; Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.EnableCommandSettings.html">EnableCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_GetCurrentTime_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.GetCurrentTime*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_GetCurrentTime_OpenQA_Selenium_DevTools_V85_Animation_GetCurrentTimeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.GetCurrentTime(OpenQA.Selenium.DevTools.V85.Animation.GetCurrentTimeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetCurrentTime(GetCurrentTimeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L70"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getCurrentTime</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetCurrentTimeCommandResponse&gt; GetCurrentTime(GetCurrentTimeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.GetCurrentTimeCommandSettings.html">GetCurrentTimeCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.GetCurrentTimeCommandResponse.html">GetCurrentTimeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_GetPlaybackRate_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.GetPlaybackRate*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_GetPlaybackRate_OpenQA_Selenium_DevTools_V85_Animation_GetPlaybackRateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.GetPlaybackRate(OpenQA.Selenium.DevTools.V85.Animation.GetPlaybackRateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetPlaybackRate(GetPlaybackRateCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L77"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getPlaybackRate</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetPlaybackRateCommandResponse&gt; GetPlaybackRate(GetPlaybackRateCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.GetPlaybackRateCommandSettings.html">GetPlaybackRateCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.GetPlaybackRateCommandResponse.html">GetPlaybackRateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_ReleaseAnimations_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.ReleaseAnimations*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_ReleaseAnimations_OpenQA_Selenium_DevTools_V85_Animation_ReleaseAnimationsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.ReleaseAnimations(OpenQA.Selenium.DevTools.V85.Animation.ReleaseAnimationsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ReleaseAnimations(ReleaseAnimationsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L84"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>releaseAnimations</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ReleaseAnimationsCommandResponse&gt; ReleaseAnimations(ReleaseAnimationsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.ReleaseAnimationsCommandSettings.html">ReleaseAnimationsCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.ReleaseAnimationsCommandResponse.html">ReleaseAnimationsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_ResolveAnimation_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.ResolveAnimation*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_ResolveAnimation_OpenQA_Selenium_DevTools_V85_Animation_ResolveAnimationCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.ResolveAnimation(OpenQA.Selenium.DevTools.V85.Animation.ResolveAnimationCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ResolveAnimation(ResolveAnimationCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L91"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>resolveAnimation</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ResolveAnimationCommandResponse&gt; ResolveAnimation(ResolveAnimationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.ResolveAnimationCommandSettings.html">ResolveAnimationCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.ResolveAnimationCommandResponse.html">ResolveAnimationCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SeekAnimations_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SeekAnimations*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SeekAnimations_OpenQA_Selenium_DevTools_V85_Animation_SeekAnimationsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SeekAnimations(OpenQA.Selenium.DevTools.V85.Animation.SeekAnimationsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SeekAnimations(SeekAnimationsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L98"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>seekAnimations</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SeekAnimationsCommandResponse&gt; SeekAnimations(SeekAnimationsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SeekAnimationsCommandSettings.html">SeekAnimationsCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SeekAnimationsCommandResponse.html">SeekAnimationsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetPaused_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetPaused*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetPaused_OpenQA_Selenium_DevTools_V85_Animation_SetPausedCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetPaused(OpenQA.Selenium.DevTools.V85.Animation.SetPausedCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetPaused(SetPausedCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L105"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setPaused</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetPausedCommandResponse&gt; SetPaused(SetPausedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetPausedCommandSettings.html">SetPausedCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetPausedCommandResponse.html">SetPausedCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetPlaybackRate_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetPlaybackRate*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetPlaybackRate_OpenQA_Selenium_DevTools_V85_Animation_SetPlaybackRateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetPlaybackRate(OpenQA.Selenium.DevTools.V85.Animation.SetPlaybackRateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetPlaybackRate(SetPlaybackRateCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L112"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setPlaybackRate</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetPlaybackRateCommandResponse&gt; SetPlaybackRate(SetPlaybackRateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetPlaybackRateCommandSettings.html">SetPlaybackRateCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetPlaybackRateCommandResponse.html">SetPlaybackRateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetTiming_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetTiming*"></a>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_SetTiming_OpenQA_Selenium_DevTools_V85_Animation_SetTimingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.SetTiming(OpenQA.Selenium.DevTools.V85.Animation.SetTimingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetTiming(SetTimingCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L119"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setTiming</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetTimingCommandResponse&gt; SetTiming(SetTimingCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetTimingCommandSettings.html">SetTimingCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.SetTimingCommandResponse.html">SetTimingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_AnimationCanceled" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.AnimationCanceled">
AnimationCanceled
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L43"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>animationCanceled</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AnimationCanceledEventArgs&gt; AnimationCanceled</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.AnimationCanceledEventArgs.html">AnimationCanceledEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_AnimationCreated" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.AnimationCreated">
AnimationCreated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L47"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>animationCreated</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AnimationCreatedEventArgs&gt; AnimationCreated</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.AnimationCreatedEventArgs.html">AnimationCreatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V85_Animation_AnimationAdapter_AnimationStarted" data-uid="OpenQA.Selenium.DevTools.V85.Animation.AnimationAdapter.AnimationStarted">
AnimationStarted
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L51"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>animationStarted</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AnimationStartedEventArgs&gt; AnimationStarted</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V85.Animation.AnimationStartedEventArgs.html">AnimationStartedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Animation/AnimationAdapter.cs/#L13" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
</div>
</div>
</footer>
</body>
</html>