blob: 6f0063c372cc407d22021ab58f553fbf945c0629 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class RuntimeAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class RuntimeAdapter ">
<meta name="description" content="Represents an adapter for the Runtime 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_V136_Runtime_RuntimeAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter%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.V136.Runtime.RuntimeAdapter">
<h1 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter" class="text-break">
Class RuntimeAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L16"><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.V136.html">V136</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V136.Runtime.html">Runtime</a></dd></dl>
<dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the Runtime domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class RuntimeAdapter</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">RuntimeAdapter</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_V136_Runtime_RuntimeAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
RuntimeAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the RuntimeAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RuntimeAdapter(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>
<h4 class="section">Exceptions</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></dt>
<dd><p>If <code class="paramref">session</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.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/v136/Runtime/RuntimeAdapter.cs/#L43"><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_V136_Runtime_RuntimeAdapter_AddBinding_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.AddBinding*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_AddBinding_OpenQA_Selenium_DevTools_V136_Runtime_AddBindingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.AddBinding(OpenQA.Selenium.DevTools.V136.Runtime.AddBindingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AddBinding(AddBindingCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L250"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>addBinding</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AddBindingCommandResponse?&gt; AddBinding(AddBindingCommandSettings 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.V136.Runtime.AddBindingCommandSettings.html">AddBindingCommandSettings</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.V136.Runtime.AddBindingCommandResponse.html">AddBindingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_AwaitPromise_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.AwaitPromise*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_AwaitPromise_OpenQA_Selenium_DevTools_V136_Runtime_AwaitPromiseCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.AwaitPromise(OpenQA.Selenium.DevTools.V136.Runtime.AwaitPromiseCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AwaitPromise(AwaitPromiseCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L90"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>awaitPromise</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AwaitPromiseCommandResponse&gt; AwaitPromise(AwaitPromiseCommandSettings 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.V136.Runtime.AwaitPromiseCommandSettings.html">AwaitPromiseCommandSettings</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.V136.Runtime.AwaitPromiseCommandResponse.html">AwaitPromiseCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_CallFunctionOn_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.CallFunctionOn*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_CallFunctionOn_OpenQA_Selenium_DevTools_V136_Runtime_CallFunctionOnCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.CallFunctionOn(OpenQA.Selenium.DevTools.V136.Runtime.CallFunctionOnCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CallFunctionOn(CallFunctionOnCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L98"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>callFunctionOn</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CallFunctionOnCommandResponse&gt; CallFunctionOn(CallFunctionOnCommandSettings 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.V136.Runtime.CallFunctionOnCommandSettings.html">CallFunctionOnCommandSettings</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.V136.Runtime.CallFunctionOnCommandResponse.html">CallFunctionOnCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_CompileScript_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.CompileScript*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_CompileScript_OpenQA_Selenium_DevTools_V136_Runtime_CompileScriptCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.CompileScript(OpenQA.Selenium.DevTools.V136.Runtime.CompileScriptCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CompileScript(CompileScriptCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L106"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>compileScript</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CompileScriptCommandResponse&gt; CompileScript(CompileScriptCommandSettings 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.V136.Runtime.CompileScriptCommandSettings.html">CompileScriptCommandSettings</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.V136.Runtime.CompileScriptCommandResponse.html">CompileScriptCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Disable_OpenQA_Selenium_DevTools_V136_Runtime_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Disable(OpenQA.Selenium.DevTools.V136.Runtime.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/v136/Runtime/RuntimeAdapter.cs/#L114"><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.V136.Runtime.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.V136.Runtime.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_DiscardConsoleEntries_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.DiscardConsoleEntries*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_DiscardConsoleEntries_OpenQA_Selenium_DevTools_V136_Runtime_DiscardConsoleEntriesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.DiscardConsoleEntries(OpenQA.Selenium.DevTools.V136.Runtime.DiscardConsoleEntriesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
DiscardConsoleEntries(DiscardConsoleEntriesCommandSettings?, 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/v136/Runtime/RuntimeAdapter.cs/#L122"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>discardConsoleEntries</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DiscardConsoleEntriesCommandResponse?&gt; DiscardConsoleEntries(DiscardConsoleEntriesCommandSettings? 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.V136.Runtime.DiscardConsoleEntriesCommandSettings.html">DiscardConsoleEntriesCommandSettings</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.V136.Runtime.DiscardConsoleEntriesCommandResponse.html">DiscardConsoleEntriesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Enable_OpenQA_Selenium_DevTools_V136_Runtime_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Enable(OpenQA.Selenium.DevTools.V136.Runtime.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/v136/Runtime/RuntimeAdapter.cs/#L130"><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.V136.Runtime.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.V136.Runtime.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Evaluate_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Evaluate*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_Evaluate_OpenQA_Selenium_DevTools_V136_Runtime_EvaluateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.Evaluate(OpenQA.Selenium.DevTools.V136.Runtime.EvaluateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Evaluate(EvaluateCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L138"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>evaluate</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EvaluateCommandResponse&gt; Evaluate(EvaluateCommandSettings 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.V136.Runtime.EvaluateCommandSettings.html">EvaluateCommandSettings</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.V136.Runtime.EvaluateCommandResponse.html">EvaluateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetExceptionDetails_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetExceptionDetails*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetExceptionDetails_OpenQA_Selenium_DevTools_V136_Runtime_GetExceptionDetailsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetExceptionDetails(OpenQA.Selenium.DevTools.V136.Runtime.GetExceptionDetailsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetExceptionDetails(GetExceptionDetailsCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L266"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getExceptionDetails</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetExceptionDetailsCommandResponse&gt; GetExceptionDetails(GetExceptionDetailsCommandSettings 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.V136.Runtime.GetExceptionDetailsCommandSettings.html">GetExceptionDetailsCommandSettings</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.V136.Runtime.GetExceptionDetailsCommandResponse.html">GetExceptionDetailsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetHeapUsage_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetHeapUsage*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetHeapUsage_OpenQA_Selenium_DevTools_V136_Runtime_GetHeapUsageCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetHeapUsage(OpenQA.Selenium.DevTools.V136.Runtime.GetHeapUsageCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetHeapUsage(GetHeapUsageCommandSettings?, 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/v136/Runtime/RuntimeAdapter.cs/#L154"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getHeapUsage</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetHeapUsageCommandResponse&gt; GetHeapUsage(GetHeapUsageCommandSettings? 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.V136.Runtime.GetHeapUsageCommandSettings.html">GetHeapUsageCommandSettings</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.V136.Runtime.GetHeapUsageCommandResponse.html">GetHeapUsageCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetIsolateId_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetIsolateId*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetIsolateId_OpenQA_Selenium_DevTools_V136_Runtime_GetIsolateIdCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetIsolateId(OpenQA.Selenium.DevTools.V136.Runtime.GetIsolateIdCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetIsolateId(GetIsolateIdCommandSettings?, 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/v136/Runtime/RuntimeAdapter.cs/#L146"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getIsolateId</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetIsolateIdCommandResponse&gt; GetIsolateId(GetIsolateIdCommandSettings? 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.V136.Runtime.GetIsolateIdCommandSettings.html">GetIsolateIdCommandSettings</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.V136.Runtime.GetIsolateIdCommandResponse.html">GetIsolateIdCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetProperties_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetProperties*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GetProperties_OpenQA_Selenium_DevTools_V136_Runtime_GetPropertiesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GetProperties(OpenQA.Selenium.DevTools.V136.Runtime.GetPropertiesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetProperties(GetPropertiesCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L162"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getProperties</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetPropertiesCommandResponse&gt; GetProperties(GetPropertiesCommandSettings 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.V136.Runtime.GetPropertiesCommandSettings.html">GetPropertiesCommandSettings</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.V136.Runtime.GetPropertiesCommandResponse.html">GetPropertiesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GlobalLexicalScopeNames_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GlobalLexicalScopeNames*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_GlobalLexicalScopeNames_OpenQA_Selenium_DevTools_V136_Runtime_GlobalLexicalScopeNamesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.GlobalLexicalScopeNames(OpenQA.Selenium.DevTools.V136.Runtime.GlobalLexicalScopeNamesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GlobalLexicalScopeNames(GlobalLexicalScopeNamesCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L170"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>globalLexicalScopeNames</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GlobalLexicalScopeNamesCommandResponse&gt; GlobalLexicalScopeNames(GlobalLexicalScopeNamesCommandSettings 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.V136.Runtime.GlobalLexicalScopeNamesCommandSettings.html">GlobalLexicalScopeNamesCommandSettings</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.V136.Runtime.GlobalLexicalScopeNamesCommandResponse.html">GlobalLexicalScopeNamesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_QueryObjects_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.QueryObjects*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_QueryObjects_OpenQA_Selenium_DevTools_V136_Runtime_QueryObjectsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.QueryObjects(OpenQA.Selenium.DevTools.V136.Runtime.QueryObjectsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
QueryObjects(QueryObjectsCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L178"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>queryObjects</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;QueryObjectsCommandResponse&gt; QueryObjects(QueryObjectsCommandSettings 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.V136.Runtime.QueryObjectsCommandSettings.html">QueryObjectsCommandSettings</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.V136.Runtime.QueryObjectsCommandResponse.html">QueryObjectsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ReleaseObject_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ReleaseObject*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ReleaseObject_OpenQA_Selenium_DevTools_V136_Runtime_ReleaseObjectCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ReleaseObject(OpenQA.Selenium.DevTools.V136.Runtime.ReleaseObjectCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ReleaseObject(ReleaseObjectCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L186"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>releaseObject</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ReleaseObjectCommandResponse?&gt; ReleaseObject(ReleaseObjectCommandSettings 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.V136.Runtime.ReleaseObjectCommandSettings.html">ReleaseObjectCommandSettings</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.V136.Runtime.ReleaseObjectCommandResponse.html">ReleaseObjectCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ReleaseObjectGroup_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ReleaseObjectGroup*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ReleaseObjectGroup_OpenQA_Selenium_DevTools_V136_Runtime_ReleaseObjectGroupCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ReleaseObjectGroup(OpenQA.Selenium.DevTools.V136.Runtime.ReleaseObjectGroupCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ReleaseObjectGroup(ReleaseObjectGroupCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L194"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>releaseObjectGroup</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ReleaseObjectGroupCommandResponse?&gt; ReleaseObjectGroup(ReleaseObjectGroupCommandSettings 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.V136.Runtime.ReleaseObjectGroupCommandSettings.html">ReleaseObjectGroupCommandSettings</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.V136.Runtime.ReleaseObjectGroupCommandResponse.html">ReleaseObjectGroupCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RemoveBinding_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RemoveBinding*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RemoveBinding_OpenQA_Selenium_DevTools_V136_Runtime_RemoveBindingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RemoveBinding(OpenQA.Selenium.DevTools.V136.Runtime.RemoveBindingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveBinding(RemoveBindingCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L258"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>removeBinding</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveBindingCommandResponse?&gt; RemoveBinding(RemoveBindingCommandSettings 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.V136.Runtime.RemoveBindingCommandSettings.html">RemoveBindingCommandSettings</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.V136.Runtime.RemoveBindingCommandResponse.html">RemoveBindingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RunIfWaitingForDebugger_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RunIfWaitingForDebugger*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RunIfWaitingForDebugger_OpenQA_Selenium_DevTools_V136_Runtime_RunIfWaitingForDebuggerCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RunIfWaitingForDebugger(OpenQA.Selenium.DevTools.V136.Runtime.RunIfWaitingForDebuggerCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RunIfWaitingForDebugger(RunIfWaitingForDebuggerCommandSettings?, 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/v136/Runtime/RuntimeAdapter.cs/#L202"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>runIfWaitingForDebugger</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RunIfWaitingForDebuggerCommandResponse?&gt; RunIfWaitingForDebugger(RunIfWaitingForDebuggerCommandSettings? 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.V136.Runtime.RunIfWaitingForDebuggerCommandSettings.html">RunIfWaitingForDebuggerCommandSettings</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.V136.Runtime.RunIfWaitingForDebuggerCommandResponse.html">RunIfWaitingForDebuggerCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RunScript_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RunScript*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_RunScript_OpenQA_Selenium_DevTools_V136_Runtime_RunScriptCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.RunScript(OpenQA.Selenium.DevTools.V136.Runtime.RunScriptCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RunScript(RunScriptCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L210"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>runScript</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RunScriptCommandResponse&gt; RunScript(RunScriptCommandSettings 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.V136.Runtime.RunScriptCommandSettings.html">RunScriptCommandSettings</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.V136.Runtime.RunScriptCommandResponse.html">RunScriptCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetAsyncCallStackDepth_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetAsyncCallStackDepth*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetAsyncCallStackDepth_OpenQA_Selenium_DevTools_V136_Runtime_SetAsyncCallStackDepthCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetAsyncCallStackDepth(OpenQA.Selenium.DevTools.V136.Runtime.SetAsyncCallStackDepthCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L218"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setAsyncCallStackDepth</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetAsyncCallStackDepthCommandResponse?&gt; SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings 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.V136.Runtime.SetAsyncCallStackDepthCommandSettings.html">SetAsyncCallStackDepthCommandSettings</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.V136.Runtime.SetAsyncCallStackDepthCommandResponse.html">SetAsyncCallStackDepthCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetCustomObjectFormatterEnabled_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetCustomObjectFormatterEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetCustomObjectFormatterEnabled_OpenQA_Selenium_DevTools_V136_Runtime_SetCustomObjectFormatterEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetCustomObjectFormatterEnabled(OpenQA.Selenium.DevTools.V136.Runtime.SetCustomObjectFormatterEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetCustomObjectFormatterEnabled(SetCustomObjectFormatterEnabledCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L226"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setCustomObjectFormatterEnabled</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetCustomObjectFormatterEnabledCommandResponse?&gt; SetCustomObjectFormatterEnabled(SetCustomObjectFormatterEnabledCommandSettings 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.V136.Runtime.SetCustomObjectFormatterEnabledCommandSettings.html">SetCustomObjectFormatterEnabledCommandSettings</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.V136.Runtime.SetCustomObjectFormatterEnabledCommandResponse.html">SetCustomObjectFormatterEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetMaxCallStackSizeToCapture_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetMaxCallStackSizeToCapture*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_SetMaxCallStackSizeToCapture_OpenQA_Selenium_DevTools_V136_Runtime_SetMaxCallStackSizeToCaptureCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.SetMaxCallStackSizeToCapture(OpenQA.Selenium.DevTools.V136.Runtime.SetMaxCallStackSizeToCaptureCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetMaxCallStackSizeToCapture(SetMaxCallStackSizeToCaptureCommandSettings, 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/v136/Runtime/RuntimeAdapter.cs/#L234"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>setMaxCallStackSizeToCapture</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetMaxCallStackSizeToCaptureCommandResponse?&gt; SetMaxCallStackSizeToCapture(SetMaxCallStackSizeToCaptureCommandSettings 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.V136.Runtime.SetMaxCallStackSizeToCaptureCommandSettings.html">SetMaxCallStackSizeToCaptureCommandSettings</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.V136.Runtime.SetMaxCallStackSizeToCaptureCommandResponse.html">SetMaxCallStackSizeToCaptureCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_TerminateExecution_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.TerminateExecution*"></a>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_TerminateExecution_OpenQA_Selenium_DevTools_V136_Runtime_TerminateExecutionCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.TerminateExecution(OpenQA.Selenium.DevTools.V136.Runtime.TerminateExecutionCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
TerminateExecution(TerminateExecutionCommandSettings?, 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/v136/Runtime/RuntimeAdapter.cs/#L242"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>terminateExecution</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;TerminateExecutionCommandResponse?&gt; TerminateExecution(TerminateExecutionCommandSettings? 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.V136.Runtime.TerminateExecutionCommandSettings.html">TerminateExecutionCommandSettings</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.V136.Runtime.TerminateExecutionCommandResponse.html">TerminateExecutionCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_BindingCalled" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.BindingCalled">
BindingCalled
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L48"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>bindingCalled</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;BindingCalledEventArgs&gt;? BindingCalled</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.V136.Runtime.BindingCalledEventArgs.html">BindingCalledEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ConsoleAPICalled" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ConsoleAPICalled">
ConsoleAPICalled
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L53"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>consoleAPICalled</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ConsoleAPICalledEventArgs&gt;? ConsoleAPICalled</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.V136.Runtime.ConsoleAPICalledEventArgs.html">ConsoleAPICalledEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ExceptionRevoked" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ExceptionRevoked">
ExceptionRevoked
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L58"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>exceptionRevoked</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ExceptionRevokedEventArgs&gt;? ExceptionRevoked</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.V136.Runtime.ExceptionRevokedEventArgs.html">ExceptionRevokedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ExceptionThrown" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ExceptionThrown">
ExceptionThrown
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L63"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>exceptionThrown</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ExceptionThrownEventArgs&gt;? ExceptionThrown</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.V136.Runtime.ExceptionThrownEventArgs.html">ExceptionThrownEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ExecutionContextCreated" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ExecutionContextCreated">
ExecutionContextCreated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L68"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>executionContextCreated</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ExecutionContextCreatedEventArgs&gt;? ExecutionContextCreated</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.V136.Runtime.ExecutionContextCreatedEventArgs.html">ExecutionContextCreatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ExecutionContextDestroyed" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ExecutionContextDestroyed">
ExecutionContextDestroyed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L73"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>executionContextDestroyed</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ExecutionContextDestroyedEventArgs&gt;? ExecutionContextDestroyed</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.V136.Runtime.ExecutionContextDestroyedEventArgs.html">ExecutionContextDestroyedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_ExecutionContextsCleared" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.ExecutionContextsCleared">
ExecutionContextsCleared
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L78"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>executionContextsCleared</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ExecutionContextsClearedEventArgs&gt;? ExecutionContextsCleared</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.V136.Runtime.ExecutionContextsClearedEventArgs.html">ExecutionContextsClearedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V136_Runtime_RuntimeAdapter_InspectRequested" data-uid="OpenQA.Selenium.DevTools.V136.Runtime.RuntimeAdapter.InspectRequested">
InspectRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v136/Runtime/RuntimeAdapter.cs/#L83"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>inspectRequested</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;InspectRequestedEventArgs&gt;? InspectRequested</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.V136.Runtime.InspectRequestedEventArgs.html">InspectRequestedEventArgs</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/v136/Runtime/RuntimeAdapter.cs/#L16" 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>