| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>Class EmulationAdapter </title> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="title" content="Class EmulationAdapter "> |
| |
| <meta name="description" content="Represents an adapter for the Emulation 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_Emulation_EmulationAdapter.md&value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%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 "{query}""> |
| <meta name="loc:searchNoResults" content="No results for "{query}""> |
| <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.Emulation.EmulationAdapter"> |
| |
| |
| |
| <h1 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter" class="text-break"> |
| Class EmulationAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Emulation/EmulationAdapter.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.Emulation.html">Emulation</a></dd></dl> |
| <dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl> |
| </div> |
| |
| <div class="markdown summary"><p>Represents an adapter for the Emulation domain to simplify the command interface.</p> |
| </div> |
| <div class="markdown conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class EmulationAdapter</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">EmulationAdapter</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_Emulation_EmulationAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.#ctor*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)"> |
| EmulationAdapter(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/Emulation/EmulationAdapter.cs/#L23"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Initializes a new instance of the EmulationAdapter class.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public EmulationAdapter(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_Emulation_EmulationAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.Session*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.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/Emulation/EmulationAdapter.cs/#L33"><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_Emulation_EmulationAdapter_CanEmulate_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.CanEmulate*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_CanEmulate_OpenQA_Selenium_DevTools_V85_Emulation_CanEmulateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.CanEmulate(OpenQA.Selenium.DevTools.V85.Emulation.CanEmulateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| CanEmulate(CanEmulateCommandSettings, 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/Emulation/EmulationAdapter.cs/#L46"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>canEmulate</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<CanEmulateCommandResponse> CanEmulate(CanEmulateCommandSettings 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.Emulation.CanEmulateCommandSettings.html">CanEmulateCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.CanEmulateCommandResponse.html">CanEmulateCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ClearDeviceMetricsOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ClearDeviceMetricsOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ClearDeviceMetricsOverride_OpenQA_Selenium_DevTools_V85_Emulation_ClearDeviceMetricsOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ClearDeviceMetricsOverride(OpenQA.Selenium.DevTools.V85.Emulation.ClearDeviceMetricsOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L53"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>clearDeviceMetricsOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ClearDeviceMetricsOverrideCommandResponse> ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings 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.Emulation.ClearDeviceMetricsOverrideCommandSettings.html">ClearDeviceMetricsOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.ClearDeviceMetricsOverrideCommandResponse.html">ClearDeviceMetricsOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ClearGeolocationOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ClearGeolocationOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ClearGeolocationOverride_OpenQA_Selenium_DevTools_V85_Emulation_ClearGeolocationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ClearGeolocationOverride(OpenQA.Selenium.DevTools.V85.Emulation.ClearGeolocationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L60"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>clearGeolocationOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ClearGeolocationOverrideCommandResponse> ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings 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.Emulation.ClearGeolocationOverrideCommandSettings.html">ClearGeolocationOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.ClearGeolocationOverrideCommandResponse.html">ClearGeolocationOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ResetPageScaleFactor_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ResetPageScaleFactor*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_ResetPageScaleFactor_OpenQA_Selenium_DevTools_V85_Emulation_ResetPageScaleFactorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.ResetPageScaleFactor(OpenQA.Selenium.DevTools.V85.Emulation.ResetPageScaleFactorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ResetPageScaleFactor(ResetPageScaleFactorCommandSettings, 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/Emulation/EmulationAdapter.cs/#L67"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>resetPageScaleFactor</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ResetPageScaleFactorCommandResponse> ResetPageScaleFactor(ResetPageScaleFactorCommandSettings 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.Emulation.ResetPageScaleFactorCommandSettings.html">ResetPageScaleFactorCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.ResetPageScaleFactorCommandResponse.html">ResetPageScaleFactorCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetCPUThrottlingRate_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetCPUThrottlingRate*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetCPUThrottlingRate_OpenQA_Selenium_DevTools_V85_Emulation_SetCPUThrottlingRateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetCPUThrottlingRate(OpenQA.Selenium.DevTools.V85.Emulation.SetCPUThrottlingRateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetCPUThrottlingRate(SetCPUThrottlingRateCommandSettings, 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/Emulation/EmulationAdapter.cs/#L81"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setCPUThrottlingRate</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetCPUThrottlingRateCommandResponse> SetCPUThrottlingRate(SetCPUThrottlingRateCommandSettings 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.Emulation.SetCPUThrottlingRateCommandSettings.html">SetCPUThrottlingRateCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetCPUThrottlingRateCommandResponse.html">SetCPUThrottlingRateCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDefaultBackgroundColorOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDefaultBackgroundColorOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDefaultBackgroundColorOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetDefaultBackgroundColorOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDefaultBackgroundColorOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetDefaultBackgroundColorOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetDefaultBackgroundColorOverride(SetDefaultBackgroundColorOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L88"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setDefaultBackgroundColorOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetDefaultBackgroundColorOverrideCommandResponse> SetDefaultBackgroundColorOverride(SetDefaultBackgroundColorOverrideCommandSettings 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.Emulation.SetDefaultBackgroundColorOverrideCommandSettings.html">SetDefaultBackgroundColorOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetDefaultBackgroundColorOverrideCommandResponse.html">SetDefaultBackgroundColorOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDeviceMetricsOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDeviceMetricsOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDeviceMetricsOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetDeviceMetricsOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDeviceMetricsOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetDeviceMetricsOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L95"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setDeviceMetricsOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetDeviceMetricsOverrideCommandResponse> SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings 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.Emulation.SetDeviceMetricsOverrideCommandSettings.html">SetDeviceMetricsOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetDeviceMetricsOverrideCommandResponse.html">SetDeviceMetricsOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDocumentCookieDisabled_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDocumentCookieDisabled*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetDocumentCookieDisabled_OpenQA_Selenium_DevTools_V85_Emulation_SetDocumentCookieDisabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetDocumentCookieDisabled(OpenQA.Selenium.DevTools.V85.Emulation.SetDocumentCookieDisabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetDocumentCookieDisabled(SetDocumentCookieDisabledCommandSettings, 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/Emulation/EmulationAdapter.cs/#L109"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setDocumentCookieDisabled</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetDocumentCookieDisabledCommandResponse> SetDocumentCookieDisabled(SetDocumentCookieDisabledCommandSettings 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.Emulation.SetDocumentCookieDisabledCommandSettings.html">SetDocumentCookieDisabledCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetDocumentCookieDisabledCommandResponse.html">SetDocumentCookieDisabledCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmitTouchEventsForMouse_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmitTouchEventsForMouse*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmitTouchEventsForMouse_OpenQA_Selenium_DevTools_V85_Emulation_SetEmitTouchEventsForMouseCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmitTouchEventsForMouse(OpenQA.Selenium.DevTools.V85.Emulation.SetEmitTouchEventsForMouseCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetEmitTouchEventsForMouse(SetEmitTouchEventsForMouseCommandSettings, 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/Emulation/EmulationAdapter.cs/#L116"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setEmitTouchEventsForMouse</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetEmitTouchEventsForMouseCommandResponse> SetEmitTouchEventsForMouse(SetEmitTouchEventsForMouseCommandSettings 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.Emulation.SetEmitTouchEventsForMouseCommandSettings.html">SetEmitTouchEventsForMouseCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetEmitTouchEventsForMouseCommandResponse.html">SetEmitTouchEventsForMouseCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmulatedMedia_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmulatedMedia*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmulatedMedia_OpenQA_Selenium_DevTools_V85_Emulation_SetEmulatedMediaCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmulatedMedia(OpenQA.Selenium.DevTools.V85.Emulation.SetEmulatedMediaCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetEmulatedMedia(SetEmulatedMediaCommandSettings, 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/Emulation/EmulationAdapter.cs/#L123"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setEmulatedMedia</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetEmulatedMediaCommandResponse> SetEmulatedMedia(SetEmulatedMediaCommandSettings 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.Emulation.SetEmulatedMediaCommandSettings.html">SetEmulatedMediaCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetEmulatedMediaCommandResponse.html">SetEmulatedMediaCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmulatedVisionDeficiency_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmulatedVisionDeficiency*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetEmulatedVisionDeficiency_OpenQA_Selenium_DevTools_V85_Emulation_SetEmulatedVisionDeficiencyCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetEmulatedVisionDeficiency(OpenQA.Selenium.DevTools.V85.Emulation.SetEmulatedVisionDeficiencyCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetEmulatedVisionDeficiency(SetEmulatedVisionDeficiencyCommandSettings, 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/Emulation/EmulationAdapter.cs/#L130"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setEmulatedVisionDeficiency</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetEmulatedVisionDeficiencyCommandResponse> SetEmulatedVisionDeficiency(SetEmulatedVisionDeficiencyCommandSettings 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.Emulation.SetEmulatedVisionDeficiencyCommandSettings.html">SetEmulatedVisionDeficiencyCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetEmulatedVisionDeficiencyCommandResponse.html">SetEmulatedVisionDeficiencyCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetFocusEmulationEnabled_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetFocusEmulationEnabled*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetFocusEmulationEnabled_OpenQA_Selenium_DevTools_V85_Emulation_SetFocusEmulationEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetFocusEmulationEnabled(OpenQA.Selenium.DevTools.V85.Emulation.SetFocusEmulationEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetFocusEmulationEnabled(SetFocusEmulationEnabledCommandSettings, 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/Emulation/EmulationAdapter.cs/#L74"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setFocusEmulationEnabled</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetFocusEmulationEnabledCommandResponse> SetFocusEmulationEnabled(SetFocusEmulationEnabledCommandSettings 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.Emulation.SetFocusEmulationEnabledCommandSettings.html">SetFocusEmulationEnabledCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetFocusEmulationEnabledCommandResponse.html">SetFocusEmulationEnabledCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetGeolocationOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetGeolocationOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetGeolocationOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetGeolocationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetGeolocationOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetGeolocationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetGeolocationOverride(SetGeolocationOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L137"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setGeolocationOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetGeolocationOverrideCommandResponse> SetGeolocationOverride(SetGeolocationOverrideCommandSettings 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.Emulation.SetGeolocationOverrideCommandSettings.html">SetGeolocationOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetGeolocationOverrideCommandResponse.html">SetGeolocationOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetLocaleOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetLocaleOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetLocaleOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetLocaleOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetLocaleOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetLocaleOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetLocaleOverride(SetLocaleOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L179"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setLocaleOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetLocaleOverrideCommandResponse> SetLocaleOverride(SetLocaleOverrideCommandSettings 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.Emulation.SetLocaleOverrideCommandSettings.html">SetLocaleOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetLocaleOverrideCommandResponse.html">SetLocaleOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetNavigatorOverrides_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetNavigatorOverrides*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetNavigatorOverrides_OpenQA_Selenium_DevTools_V85_Emulation_SetNavigatorOverridesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetNavigatorOverrides(OpenQA.Selenium.DevTools.V85.Emulation.SetNavigatorOverridesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetNavigatorOverrides(SetNavigatorOverridesCommandSettings, 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/Emulation/EmulationAdapter.cs/#L144"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setNavigatorOverrides</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetNavigatorOverridesCommandResponse> SetNavigatorOverrides(SetNavigatorOverridesCommandSettings 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.Emulation.SetNavigatorOverridesCommandSettings.html">SetNavigatorOverridesCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetNavigatorOverridesCommandResponse.html">SetNavigatorOverridesCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetPageScaleFactor_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetPageScaleFactor*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetPageScaleFactor_OpenQA_Selenium_DevTools_V85_Emulation_SetPageScaleFactorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetPageScaleFactor(OpenQA.Selenium.DevTools.V85.Emulation.SetPageScaleFactorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetPageScaleFactor(SetPageScaleFactorCommandSettings, 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/Emulation/EmulationAdapter.cs/#L151"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setPageScaleFactor</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetPageScaleFactorCommandResponse> SetPageScaleFactor(SetPageScaleFactorCommandSettings 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.Emulation.SetPageScaleFactorCommandSettings.html">SetPageScaleFactorCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetPageScaleFactorCommandResponse.html">SetPageScaleFactorCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetScriptExecutionDisabled_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetScriptExecutionDisabled*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetScriptExecutionDisabled_OpenQA_Selenium_DevTools_V85_Emulation_SetScriptExecutionDisabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetScriptExecutionDisabled(OpenQA.Selenium.DevTools.V85.Emulation.SetScriptExecutionDisabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetScriptExecutionDisabled(SetScriptExecutionDisabledCommandSettings, 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/Emulation/EmulationAdapter.cs/#L158"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setScriptExecutionDisabled</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetScriptExecutionDisabledCommandResponse> SetScriptExecutionDisabled(SetScriptExecutionDisabledCommandSettings 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.Emulation.SetScriptExecutionDisabledCommandSettings.html">SetScriptExecutionDisabledCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetScriptExecutionDisabledCommandResponse.html">SetScriptExecutionDisabledCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetScrollbarsHidden_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetScrollbarsHidden*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetScrollbarsHidden_OpenQA_Selenium_DevTools_V85_Emulation_SetScrollbarsHiddenCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetScrollbarsHidden(OpenQA.Selenium.DevTools.V85.Emulation.SetScrollbarsHiddenCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetScrollbarsHidden(SetScrollbarsHiddenCommandSettings, 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/Emulation/EmulationAdapter.cs/#L102"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setScrollbarsHidden</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetScrollbarsHiddenCommandResponse> SetScrollbarsHidden(SetScrollbarsHiddenCommandSettings 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.Emulation.SetScrollbarsHiddenCommandSettings.html">SetScrollbarsHiddenCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetScrollbarsHiddenCommandResponse.html">SetScrollbarsHiddenCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetTimezoneOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetTimezoneOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetTimezoneOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetTimezoneOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetTimezoneOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetTimezoneOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetTimezoneOverride(SetTimezoneOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L186"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setTimezoneOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetTimezoneOverrideCommandResponse> SetTimezoneOverride(SetTimezoneOverrideCommandSettings 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.Emulation.SetTimezoneOverrideCommandSettings.html">SetTimezoneOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetTimezoneOverrideCommandResponse.html">SetTimezoneOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetTouchEmulationEnabled_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetTouchEmulationEnabled*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetTouchEmulationEnabled_OpenQA_Selenium_DevTools_V85_Emulation_SetTouchEmulationEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetTouchEmulationEnabled(OpenQA.Selenium.DevTools.V85.Emulation.SetTouchEmulationEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings, 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/Emulation/EmulationAdapter.cs/#L165"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setTouchEmulationEnabled</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetTouchEmulationEnabledCommandResponse> SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings 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.Emulation.SetTouchEmulationEnabledCommandSettings.html">SetTouchEmulationEnabledCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetTouchEmulationEnabledCommandResponse.html">SetTouchEmulationEnabledCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetUserAgentOverride_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetUserAgentOverride*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetUserAgentOverride_OpenQA_Selenium_DevTools_V85_Emulation_SetUserAgentOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetUserAgentOverride(OpenQA.Selenium.DevTools.V85.Emulation.SetUserAgentOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetUserAgentOverride(SetUserAgentOverrideCommandSettings, 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/Emulation/EmulationAdapter.cs/#L200"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setUserAgentOverride</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetUserAgentOverrideCommandResponse> SetUserAgentOverride(SetUserAgentOverrideCommandSettings 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.Emulation.SetUserAgentOverrideCommandSettings.html">SetUserAgentOverrideCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetUserAgentOverrideCommandResponse.html">SetUserAgentOverrideCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetVirtualTimePolicy_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetVirtualTimePolicy*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetVirtualTimePolicy_OpenQA_Selenium_DevTools_V85_Emulation_SetVirtualTimePolicyCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetVirtualTimePolicy(OpenQA.Selenium.DevTools.V85.Emulation.SetVirtualTimePolicyCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetVirtualTimePolicy(SetVirtualTimePolicyCommandSettings, 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/Emulation/EmulationAdapter.cs/#L172"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setVirtualTimePolicy</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetVirtualTimePolicyCommandResponse> SetVirtualTimePolicy(SetVirtualTimePolicyCommandSettings 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.Emulation.SetVirtualTimePolicyCommandSettings.html">SetVirtualTimePolicyCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetVirtualTimePolicyCommandResponse.html">SetVirtualTimePolicyCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetVisibleSize_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetVisibleSize*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_SetVisibleSize_OpenQA_Selenium_DevTools_V85_Emulation_SetVisibleSizeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.SetVisibleSize(OpenQA.Selenium.DevTools.V85.Emulation.SetVisibleSizeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SetVisibleSize(SetVisibleSizeCommandSettings, 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/Emulation/EmulationAdapter.cs/#L193"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>setVisibleSize</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SetVisibleSizeCommandResponse> SetVisibleSize(SetVisibleSizeCommandSettings 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.Emulation.SetVisibleSizeCommandSettings.html">SetVisibleSizeCommandSettings</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.SetVisibleSizeCommandResponse.html">SetVisibleSizeCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="events">Events |
| </h2> |
| |
| |
| |
| <h3 id="OpenQA_Selenium_DevTools_V85_Emulation_EmulationAdapter_VirtualTimeBudgetExpired" data-uid="OpenQA.Selenium.DevTools.V85.Emulation.EmulationAdapter.VirtualTimeBudgetExpired"> |
| VirtualTimeBudgetExpired |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v85/Emulation/EmulationAdapter.cs/#L41"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>virtualTimeBudgetExpired</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public event EventHandler<VirtualTimeBudgetExpiredEventArgs> VirtualTimeBudgetExpired</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><<a class="xref" href="OpenQA.Selenium.DevTools.V85.Emulation.VirtualTimeBudgetExpiredEventArgs.html">VirtualTimeBudgetExpiredEventArgs</a>></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/Emulation/EmulationAdapter.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> |