blob: 8aa87b5a1c22cb017aa0c065ef41280f2e8b7c13 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class DOMAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class DOMAdapter ">
<meta name="description" content="Represents an adapter for the DOM 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/docfix/apiSpec/new?filename=OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter%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.V147.DOM.DOMAdapter">
<h1 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter" class="text-break">
Class DOMAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.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.V147.html">V147</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V147.DOM.html">DOM</a></dd></dl>
<dl><dt>Assembly</dt><dd>Selenium.WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the DOM domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class DOMAdapter</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">DOMAdapter</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.tostring">object.ToString()</a>
</div>
<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.referenceequals">object.ReferenceEquals(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>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
DOMAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the DOMAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public DOMAdapter(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_V147_DOM_DOMAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Session">
Session
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L54"><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_V147_DOM_DOMAdapter_CollectClassNamesFromSubtree_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.CollectClassNamesFromSubtree*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_CollectClassNamesFromSubtree_OpenQA_Selenium_DevTools_V147_DOM_CollectClassNamesFromSubtreeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.CollectClassNamesFromSubtree(OpenQA.Selenium.DevTools.V147.DOM.CollectClassNamesFromSubtreeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L157"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Collects class names for the node with given id and all of it's child nodes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CollectClassNamesFromSubtreeCommandResponse&gt; CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings 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.V147.DOM.CollectClassNamesFromSubtreeCommandSettings.html">CollectClassNamesFromSubtreeCommandSettings</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.V147.DOM.CollectClassNamesFromSubtreeCommandResponse.html">CollectClassNamesFromSubtreeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_CopyTo_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.CopyTo*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_CopyTo_OpenQA_Selenium_DevTools_V147_DOM_CopyToCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.CopyTo(OpenQA.Selenium.DevTools.V147.DOM.CopyToCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CopyTo(CopyToCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L166"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Creates a deep copy of the specified node and places it into the target container before the
given anchor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CopyToCommandResponse&gt; CopyTo(CopyToCommandSettings 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.V147.DOM.CopyToCommandSettings.html">CopyToCommandSettings</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.V147.DOM.CopyToCommandResponse.html">CopyToCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DescribeNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DescribeNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DescribeNode_OpenQA_Selenium_DevTools_V147_DOM_DescribeNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DescribeNode(OpenQA.Selenium.DevTools.V147.DOM.DescribeNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
DescribeNode(DescribeNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L175"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Describes node given its id, does not require domain to be enabled. Does not start tracking any
objects, can be used for automation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DescribeNodeCommandResponse&gt; DescribeNode(DescribeNodeCommandSettings 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.V147.DOM.DescribeNodeCommandSettings.html">DescribeNodeCommandSettings</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.V147.DOM.DescribeNodeCommandResponse.html">DescribeNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Disable_OpenQA_Selenium_DevTools_V147_DOM_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Disable(OpenQA.Selenium.DevTools.V147.DOM.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/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L193"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Disables DOM agent for the given page.</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.V147.DOM.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.V147.DOM.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DiscardSearchResults_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DiscardSearchResults*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DiscardSearchResults_OpenQA_Selenium_DevTools_V147_DOM_DiscardSearchResultsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DiscardSearchResults(OpenQA.Selenium.DevTools.V147.DOM.DiscardSearchResultsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
DiscardSearchResults(DiscardSearchResultsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L202"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Discards search results from the session with the given id. <code>getSearchResults</code> should no longer
be called for that search.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DiscardSearchResultsCommandResponse?&gt; DiscardSearchResults(DiscardSearchResultsCommandSettings 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.V147.DOM.DiscardSearchResultsCommandSettings.html">DiscardSearchResultsCommandSettings</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.V147.DOM.DiscardSearchResultsCommandResponse.html">DiscardSearchResultsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Enable_OpenQA_Selenium_DevTools_V147_DOM_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Enable(OpenQA.Selenium.DevTools.V147.DOM.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/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L210"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables DOM agent for the given page.</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, 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.V147.DOM.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.V147.DOM.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Focus_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Focus*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Focus_OpenQA_Selenium_DevTools_V147_DOM_FocusCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Focus(OpenQA.Selenium.DevTools.V147.DOM.FocusCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Focus(FocusCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L218"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Focuses the given element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;FocusCommandResponse?&gt; Focus(FocusCommandSettings 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.V147.DOM.FocusCommandSettings.html">FocusCommandSettings</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.V147.DOM.FocusCommandResponse.html">FocusCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ForceShowPopover_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ForceShowPopover*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ForceShowPopover_OpenQA_Selenium_DevTools_V147_DOM_ForceShowPopoverCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ForceShowPopover(OpenQA.Selenium.DevTools.V147.DOM.ForceShowPopoverCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ForceShowPopover(ForceShowPopoverCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L601"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>When enabling, this API force-opens the popover identified by nodeId
and keeps it open until disabled.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ForceShowPopoverCommandResponse&gt; ForceShowPopover(ForceShowPopoverCommandSettings 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.V147.DOM.ForceShowPopoverCommandSettings.html">ForceShowPopoverCommandSettings</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.V147.DOM.ForceShowPopoverCommandResponse.html">ForceShowPopoverCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetAnchorElement_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetAnchorElement*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetAnchorElement_OpenQA_Selenium_DevTools_V147_DOM_GetAnchorElementCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetAnchorElement(OpenQA.Selenium.DevTools.V147.DOM.GetAnchorElementCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAnchorElement(GetAnchorElementCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L592"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the target anchor element of the given anchor query according to
<a href="https://www.w3.org/TR/css-anchor-position-1/#target">https://www.w3.org/TR/css-anchor-position-1/#target</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAnchorElementCommandResponse&gt; GetAnchorElement(GetAnchorElementCommandSettings 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.V147.DOM.GetAnchorElementCommandSettings.html">GetAnchorElementCommandSettings</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.V147.DOM.GetAnchorElementCommandResponse.html">GetAnchorElementCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetAttributes_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetAttributes*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetAttributes_OpenQA_Selenium_DevTools_V147_DOM_GetAttributesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetAttributes(OpenQA.Selenium.DevTools.V147.DOM.GetAttributesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAttributes(GetAttributesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L226"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns attributes for the specified node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAttributesCommandResponse&gt; GetAttributes(GetAttributesCommandSettings 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.V147.DOM.GetAttributesCommandSettings.html">GetAttributesCommandSettings</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.V147.DOM.GetAttributesCommandResponse.html">GetAttributesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetBoxModel_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetBoxModel*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetBoxModel_OpenQA_Selenium_DevTools_V147_DOM_GetBoxModelCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetBoxModel(OpenQA.Selenium.DevTools.V147.DOM.GetBoxModelCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetBoxModel(GetBoxModelCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L234"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns boxes for the given node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetBoxModelCommandResponse&gt; GetBoxModel(GetBoxModelCommandSettings 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.V147.DOM.GetBoxModelCommandSettings.html">GetBoxModelCommandSettings</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.V147.DOM.GetBoxModelCommandResponse.html">GetBoxModelCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetContainerForNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetContainerForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetContainerForNode_OpenQA_Selenium_DevTools_V147_DOM_GetContainerForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetContainerForNode(OpenQA.Selenium.DevTools.V147.DOM.GetContainerForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetContainerForNode(GetContainerForNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L574"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the query container of the given node based on container query
conditions: containerName, physical and logical axes, and whether it queries
scroll-state or anchored elements. If no axes are provided and
queriesScrollState is false, the style container is returned, which is the
direct parent or the closest element with a matching container-name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetContainerForNodeCommandResponse&gt; GetContainerForNode(GetContainerForNodeCommandSettings 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.V147.DOM.GetContainerForNodeCommandSettings.html">GetContainerForNodeCommandSettings</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.V147.DOM.GetContainerForNodeCommandResponse.html">GetContainerForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetContentQuads_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetContentQuads*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetContentQuads_OpenQA_Selenium_DevTools_V147_DOM_GetContentQuadsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetContentQuads(OpenQA.Selenium.DevTools.V147.DOM.GetContentQuadsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetContentQuads(GetContentQuadsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L243"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns quads that describe node position on the page. This method
might return multiple quads for inline nodes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetContentQuadsCommandResponse&gt; GetContentQuads(GetContentQuadsCommandSettings 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.V147.DOM.GetContentQuadsCommandSettings.html">GetContentQuadsCommandSettings</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.V147.DOM.GetContentQuadsCommandResponse.html">GetContentQuadsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetDetachedDomNodes_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetDetachedDomNodes*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetDetachedDomNodes_OpenQA_Selenium_DevTools_V147_DOM_GetDetachedDomNodesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetDetachedDomNodes(OpenQA.Selenium.DevTools.V147.DOM.GetDetachedDomNodesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetDetachedDomNodes(GetDetachedDomNodesCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L513"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns list of detached nodes</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetDetachedDomNodesCommandResponse&gt; GetDetachedDomNodes(GetDetachedDomNodesCommandSettings? 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.V147.DOM.GetDetachedDomNodesCommandSettings.html">GetDetachedDomNodesCommandSettings</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.V147.DOM.GetDetachedDomNodesCommandResponse.html">GetDetachedDomNodesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetDocument_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetDocument*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetDocument_OpenQA_Selenium_DevTools_V147_DOM_GetDocumentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetDocument(OpenQA.Selenium.DevTools.V147.DOM.GetDocumentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetDocument(GetDocumentCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L252"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the root DOM node (and optionally the subtree) to the caller.
Implicitly enables the DOM domain events for the current target.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetDocumentCommandResponse&gt; GetDocument(GetDocumentCommandSettings 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.V147.DOM.GetDocumentCommandSettings.html">GetDocumentCommandSettings</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.V147.DOM.GetDocumentCommandResponse.html">GetDocumentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetElementByRelation_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetElementByRelation*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetElementByRelation_OpenQA_Selenium_DevTools_V147_DOM_GetElementByRelationCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetElementByRelation(OpenQA.Selenium.DevTools.V147.DOM.GetElementByRelationCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetElementByRelation(GetElementByRelationCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L403"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the NodeId of the matched element according to certain relations.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetElementByRelationCommandResponse&gt; GetElementByRelation(GetElementByRelationCommandSettings 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.V147.DOM.GetElementByRelationCommandSettings.html">GetElementByRelationCommandSettings</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.V147.DOM.GetElementByRelationCommandResponse.html">GetElementByRelationCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFileInfo_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFileInfo*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFileInfo_OpenQA_Selenium_DevTools_V147_DOM_GetFileInfoCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFileInfo(OpenQA.Selenium.DevTools.V147.DOM.GetFileInfoCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetFileInfo(GetFileInfoCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L505"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns file information for the given
File wrapper.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetFileInfoCommandResponse&gt; GetFileInfo(GetFileInfoCommandSettings 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.V147.DOM.GetFileInfoCommandSettings.html">GetFileInfoCommandSettings</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.V147.DOM.GetFileInfoCommandResponse.html">GetFileInfoCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFlattenedDocument_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFlattenedDocument*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFlattenedDocument_OpenQA_Selenium_DevTools_V147_DOM_GetFlattenedDocumentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFlattenedDocument(OpenQA.Selenium.DevTools.V147.DOM.GetFlattenedDocumentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetFlattenedDocument(GetFlattenedDocumentCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L262"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the root DOM node (and optionally the subtree) to the caller.
Deprecated, as it is not designed to work well with the rest of the DOM agent.
Use DOMSnapshot.captureSnapshot instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetFlattenedDocumentCommandResponse&gt; GetFlattenedDocument(GetFlattenedDocumentCommandSettings 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.V147.DOM.GetFlattenedDocumentCommandSettings.html">GetFlattenedDocumentCommandSettings</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.V147.DOM.GetFlattenedDocumentCommandResponse.html">GetFlattenedDocumentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFrameOwner_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFrameOwner*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetFrameOwner_OpenQA_Selenium_DevTools_V147_DOM_GetFrameOwnerCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetFrameOwner(OpenQA.Selenium.DevTools.V147.DOM.GetFrameOwnerCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetFrameOwner(GetFrameOwnerCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L562"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns iframe node that owns iframe with the given domain.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetFrameOwnerCommandResponse&gt; GetFrameOwner(GetFrameOwnerCommandSettings 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.V147.DOM.GetFrameOwnerCommandSettings.html">GetFrameOwnerCommandSettings</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.V147.DOM.GetFrameOwnerCommandResponse.html">GetFrameOwnerCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodeForLocation_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodeForLocation*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodeForLocation_OpenQA_Selenium_DevTools_V147_DOM_GetNodeForLocationCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodeForLocation(OpenQA.Selenium.DevTools.V147.DOM.GetNodeForLocationCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetNodeForLocation(GetNodeForLocationCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L279"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
either returned or not.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetNodeForLocationCommandResponse&gt; GetNodeForLocation(GetNodeForLocationCommandSettings 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.V147.DOM.GetNodeForLocationCommandSettings.html">GetNodeForLocationCommandSettings</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.V147.DOM.GetNodeForLocationCommandResponse.html">GetNodeForLocationCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodeStackTraces_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodeStackTraces*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodeStackTraces_OpenQA_Selenium_DevTools_V147_DOM_GetNodeStackTracesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodeStackTraces(OpenQA.Selenium.DevTools.V147.DOM.GetNodeStackTracesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetNodeStackTraces(GetNodeStackTracesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L496"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetNodeStackTracesCommandResponse&gt; GetNodeStackTraces(GetNodeStackTracesCommandSettings 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.V147.DOM.GetNodeStackTracesCommandSettings.html">GetNodeStackTracesCommandSettings</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.V147.DOM.GetNodeStackTracesCommandResponse.html">GetNodeStackTracesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodesForSubtreeByStyle_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodesForSubtreeByStyle*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetNodesForSubtreeByStyle_OpenQA_Selenium_DevTools_V147_DOM_GetNodesForSubtreeByStyleCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetNodesForSubtreeByStyle(OpenQA.Selenium.DevTools.V147.DOM.GetNodesForSubtreeByStyleCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L270"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Finds nodes with a given computed style in a subtree.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetNodesForSubtreeByStyleCommandResponse&gt; GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings 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.V147.DOM.GetNodesForSubtreeByStyleCommandSettings.html">GetNodesForSubtreeByStyleCommandSettings</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.V147.DOM.GetNodesForSubtreeByStyleCommandResponse.html">GetNodesForSubtreeByStyleCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetOuterHTML_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetOuterHTML*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetOuterHTML_OpenQA_Selenium_DevTools_V147_DOM_GetOuterHTMLCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetOuterHTML(OpenQA.Selenium.DevTools.V147.DOM.GetOuterHTMLCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetOuterHTML(GetOuterHTMLCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L287"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns node's HTML markup.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetOuterHTMLCommandResponse&gt; GetOuterHTML(GetOuterHTMLCommandSettings 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.V147.DOM.GetOuterHTMLCommandSettings.html">GetOuterHTMLCommandSettings</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.V147.DOM.GetOuterHTMLCommandResponse.html">GetOuterHTMLCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetQueryingDescendantsForContainer_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetQueryingDescendantsForContainer*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetQueryingDescendantsForContainer_OpenQA_Selenium_DevTools_V147_DOM_GetQueryingDescendantsForContainerCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetQueryingDescendantsForContainer(OpenQA.Selenium.DevTools.V147.DOM.GetQueryingDescendantsForContainerCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L583"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the descendants of a container query container that have
container queries against this container.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetQueryingDescendantsForContainerCommandResponse&gt; GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings 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.V147.DOM.GetQueryingDescendantsForContainerCommandSettings.html">GetQueryingDescendantsForContainerCommandSettings</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.V147.DOM.GetQueryingDescendantsForContainerCommandResponse.html">GetQueryingDescendantsForContainerCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetRelayoutBoundary_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetRelayoutBoundary*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetRelayoutBoundary_OpenQA_Selenium_DevTools_V147_DOM_GetRelayoutBoundaryCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetRelayoutBoundary(OpenQA.Selenium.DevTools.V147.DOM.GetRelayoutBoundaryCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L295"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the id of the nearest ancestor that is a relayout boundary.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetRelayoutBoundaryCommandResponse&gt; GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings 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.V147.DOM.GetRelayoutBoundaryCommandSettings.html">GetRelayoutBoundaryCommandSettings</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.V147.DOM.GetRelayoutBoundaryCommandResponse.html">GetRelayoutBoundaryCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetSearchResults_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetSearchResults*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetSearchResults_OpenQA_Selenium_DevTools_V147_DOM_GetSearchResultsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetSearchResults(OpenQA.Selenium.DevTools.V147.DOM.GetSearchResultsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetSearchResults(GetSearchResultsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L304"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns search results from given <code>fromIndex</code> to given <code>toIndex</code> from the search with the given
identifier.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetSearchResultsCommandResponse&gt; GetSearchResults(GetSearchResultsCommandSettings 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.V147.DOM.GetSearchResultsCommandSettings.html">GetSearchResultsCommandSettings</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.V147.DOM.GetSearchResultsCommandResponse.html">GetSearchResultsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetTopLayerElements_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetTopLayerElements*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_GetTopLayerElements_OpenQA_Selenium_DevTools_V147_DOM_GetTopLayerElementsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.GetTopLayerElements(OpenQA.Selenium.DevTools.V147.DOM.GetTopLayerElementsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetTopLayerElements(GetTopLayerElementsCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L395"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns NodeIds of current top layer elements.
Top layer is rendered closest to the user within a viewport, therefore its elements always
appear on top of all other content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetTopLayerElementsCommandResponse&gt; GetTopLayerElements(GetTopLayerElementsCommandSettings? 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.V147.DOM.GetTopLayerElementsCommandSettings.html">GetTopLayerElementsCommandSettings</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.V147.DOM.GetTopLayerElementsCommandResponse.html">GetTopLayerElementsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HideHighlight_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HideHighlight*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HideHighlight_OpenQA_Selenium_DevTools_V147_DOM_HideHighlightCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HideHighlight(OpenQA.Selenium.DevTools.V147.DOM.HideHighlightCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
HideHighlight(HideHighlightCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L312"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Hides any highlight.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;HideHighlightCommandResponse?&gt; HideHighlight(HideHighlightCommandSettings? 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.V147.DOM.HideHighlightCommandSettings.html">HideHighlightCommandSettings</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.V147.DOM.HideHighlightCommandResponse.html">HideHighlightCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HighlightNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HighlightNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HighlightNode_OpenQA_Selenium_DevTools_V147_DOM_HighlightNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HighlightNode(OpenQA.Selenium.DevTools.V147.DOM.HighlightNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
HighlightNode(HighlightNodeCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L320"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Highlights DOM node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;HighlightNodeCommandResponse?&gt; HighlightNode(HighlightNodeCommandSettings? 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.V147.DOM.HighlightNodeCommandSettings.html">HighlightNodeCommandSettings</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.V147.DOM.HighlightNodeCommandResponse.html">HighlightNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HighlightRect_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HighlightRect*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_HighlightRect_OpenQA_Selenium_DevTools_V147_DOM_HighlightRectCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.HighlightRect(OpenQA.Selenium.DevTools.V147.DOM.HighlightRectCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
HighlightRect(HighlightRectCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L328"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Highlights given rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;HighlightRectCommandResponse?&gt; HighlightRect(HighlightRectCommandSettings? 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.V147.DOM.HighlightRectCommandSettings.html">HighlightRectCommandSettings</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.V147.DOM.HighlightRectCommandResponse.html">HighlightRectCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_MarkUndoableState_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.MarkUndoableState*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_MarkUndoableState_OpenQA_Selenium_DevTools_V147_DOM_MarkUndoableStateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.MarkUndoableState(OpenQA.Selenium.DevTools.V147.DOM.MarkUndoableStateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
MarkUndoableState(MarkUndoableStateCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L336"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Marks last undoable state.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;MarkUndoableStateCommandResponse?&gt; MarkUndoableState(MarkUndoableStateCommandSettings? 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.V147.DOM.MarkUndoableStateCommandSettings.html">MarkUndoableStateCommandSettings</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.V147.DOM.MarkUndoableStateCommandResponse.html">MarkUndoableStateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_MoveTo_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.MoveTo*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_MoveTo_OpenQA_Selenium_DevTools_V147_DOM_MoveToCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.MoveTo(OpenQA.Selenium.DevTools.V147.DOM.MoveToCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
MoveTo(MoveToCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L344"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Moves node into the new container, places it before the given anchor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;MoveToCommandResponse&gt; MoveTo(MoveToCommandSettings 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.V147.DOM.MoveToCommandSettings.html">MoveToCommandSettings</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.V147.DOM.MoveToCommandResponse.html">MoveToCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PerformSearch_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PerformSearch*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PerformSearch_OpenQA_Selenium_DevTools_V147_DOM_PerformSearchCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PerformSearch(OpenQA.Selenium.DevTools.V147.DOM.PerformSearchCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
PerformSearch(PerformSearchCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L353"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Searches for a given string in the DOM tree. Use <code>getSearchResults</code> to access search results or
<code>cancelSearch</code> to end this search session.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PerformSearchCommandResponse&gt; PerformSearch(PerformSearchCommandSettings 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.V147.DOM.PerformSearchCommandSettings.html">PerformSearchCommandSettings</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.V147.DOM.PerformSearchCommandResponse.html">PerformSearchCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PushNodeByPathToFrontend_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PushNodeByPathToFrontend*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PushNodeByPathToFrontend_OpenQA_Selenium_DevTools_V147_DOM_PushNodeByPathToFrontendCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PushNodeByPathToFrontend(OpenQA.Selenium.DevTools.V147.DOM.PushNodeByPathToFrontendCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L361"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests that the node is sent to the caller given its path. // FIXME, use XPath</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PushNodeByPathToFrontendCommandResponse&gt; PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings 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.V147.DOM.PushNodeByPathToFrontendCommandSettings.html">PushNodeByPathToFrontendCommandSettings</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.V147.DOM.PushNodeByPathToFrontendCommandResponse.html">PushNodeByPathToFrontendCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PushNodesByBackendIdsToFrontend_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PushNodesByBackendIdsToFrontend*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PushNodesByBackendIdsToFrontend_OpenQA_Selenium_DevTools_V147_DOM_PushNodesByBackendIdsToFrontendCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PushNodesByBackendIdsToFrontend(OpenQA.Selenium.DevTools.V147.DOM.PushNodesByBackendIdsToFrontendCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L369"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests that a batch of nodes is sent to the caller given their backend node ids.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PushNodesByBackendIdsToFrontendCommandResponse&gt; PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings 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.V147.DOM.PushNodesByBackendIdsToFrontendCommandSettings.html">PushNodesByBackendIdsToFrontendCommandSettings</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.V147.DOM.PushNodesByBackendIdsToFrontendCommandResponse.html">PushNodesByBackendIdsToFrontendCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_QuerySelector_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.QuerySelector*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_QuerySelector_OpenQA_Selenium_DevTools_V147_DOM_QuerySelectorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.QuerySelector(OpenQA.Selenium.DevTools.V147.DOM.QuerySelectorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
QuerySelector(QuerySelectorCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L377"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Executes <code>querySelector</code> on a given node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;QuerySelectorCommandResponse&gt; QuerySelector(QuerySelectorCommandSettings 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.V147.DOM.QuerySelectorCommandSettings.html">QuerySelectorCommandSettings</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.V147.DOM.QuerySelectorCommandResponse.html">QuerySelectorCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_QuerySelectorAll_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.QuerySelectorAll*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_QuerySelectorAll_OpenQA_Selenium_DevTools_V147_DOM_QuerySelectorAllCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.QuerySelectorAll(OpenQA.Selenium.DevTools.V147.DOM.QuerySelectorAllCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
QuerySelectorAll(QuerySelectorAllCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L385"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Executes <code>querySelectorAll</code> on a given node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;QuerySelectorAllCommandResponse&gt; QuerySelectorAll(QuerySelectorAllCommandSettings 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.V147.DOM.QuerySelectorAllCommandSettings.html">QuerySelectorAllCommandSettings</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.V147.DOM.QuerySelectorAllCommandResponse.html">QuerySelectorAllCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Redo_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Redo*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Redo_OpenQA_Selenium_DevTools_V147_DOM_RedoCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Redo(OpenQA.Selenium.DevTools.V147.DOM.RedoCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Redo(RedoCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L411"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Re-does the last undone action.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RedoCommandResponse?&gt; Redo(RedoCommandSettings? 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.V147.DOM.RedoCommandSettings.html">RedoCommandSettings</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.V147.DOM.RedoCommandResponse.html">RedoCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RemoveAttribute_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RemoveAttribute*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RemoveAttribute_OpenQA_Selenium_DevTools_V147_DOM_RemoveAttributeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RemoveAttribute(OpenQA.Selenium.DevTools.V147.DOM.RemoveAttributeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveAttribute(RemoveAttributeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L419"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Removes attribute with given name from an element with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveAttributeCommandResponse?&gt; RemoveAttribute(RemoveAttributeCommandSettings 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.V147.DOM.RemoveAttributeCommandSettings.html">RemoveAttributeCommandSettings</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.V147.DOM.RemoveAttributeCommandResponse.html">RemoveAttributeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RemoveNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RemoveNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RemoveNode_OpenQA_Selenium_DevTools_V147_DOM_RemoveNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RemoveNode(OpenQA.Selenium.DevTools.V147.DOM.RemoveNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveNode(RemoveNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L427"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Removes node with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveNodeCommandResponse?&gt; RemoveNode(RemoveNodeCommandSettings 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.V147.DOM.RemoveNodeCommandSettings.html">RemoveNodeCommandSettings</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.V147.DOM.RemoveNodeCommandResponse.html">RemoveNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RequestChildNodes_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RequestChildNodes*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RequestChildNodes_OpenQA_Selenium_DevTools_V147_DOM_RequestChildNodesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RequestChildNodes(OpenQA.Selenium.DevTools.V147.DOM.RequestChildNodesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RequestChildNodes(RequestChildNodesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L437"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests that children of the node with given id are returned to the caller in form of
<code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to
the specified depth.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RequestChildNodesCommandResponse?&gt; RequestChildNodes(RequestChildNodesCommandSettings 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.V147.DOM.RequestChildNodesCommandSettings.html">RequestChildNodesCommandSettings</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.V147.DOM.RequestChildNodesCommandResponse.html">RequestChildNodesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RequestNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RequestNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_RequestNode_OpenQA_Selenium_DevTools_V147_DOM_RequestNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.RequestNode(OpenQA.Selenium.DevTools.V147.DOM.RequestNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RequestNode(RequestNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L447"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests that the node is sent to the caller given the JavaScript node object reference. All
nodes that form the path from the node to the root are also sent to the client as a series of
<code>setChildNodes</code> notifications.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RequestNodeCommandResponse&gt; RequestNode(RequestNodeCommandSettings 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.V147.DOM.RequestNodeCommandSettings.html">RequestNodeCommandSettings</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.V147.DOM.RequestNodeCommandResponse.html">RequestNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ResolveNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ResolveNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ResolveNode_OpenQA_Selenium_DevTools_V147_DOM_ResolveNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ResolveNode(OpenQA.Selenium.DevTools.V147.DOM.ResolveNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ResolveNode(ResolveNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L455"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Resolves the JavaScript node object for a given NodeId or BackendNodeId.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ResolveNodeCommandResponse&gt; ResolveNode(ResolveNodeCommandSettings 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.V147.DOM.ResolveNodeCommandSettings.html">ResolveNodeCommandSettings</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.V147.DOM.ResolveNodeCommandResponse.html">ResolveNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ScrollIntoViewIfNeeded_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ScrollIntoViewIfNeeded*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ScrollIntoViewIfNeeded_OpenQA_Selenium_DevTools_V147_DOM_ScrollIntoViewIfNeededCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ScrollIntoViewIfNeeded(OpenQA.Selenium.DevTools.V147.DOM.ScrollIntoViewIfNeededCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L185"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Scrolls the specified rect of the given node into view if not already visible.
Note: exactly one between nodeId, backendNodeId and objectId should be passed
to identify the node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ScrollIntoViewIfNeededCommandResponse?&gt; ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings 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.V147.DOM.ScrollIntoViewIfNeededCommandSettings.html">ScrollIntoViewIfNeededCommandSettings</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.V147.DOM.ScrollIntoViewIfNeededCommandResponse.html">ScrollIntoViewIfNeededCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetAttributeValue_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetAttributeValue*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetAttributeValue_OpenQA_Selenium_DevTools_V147_DOM_SetAttributeValueCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetAttributeValue(OpenQA.Selenium.DevTools.V147.DOM.SetAttributeValueCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetAttributeValue(SetAttributeValueCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L463"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets attribute for an element with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetAttributeValueCommandResponse?&gt; SetAttributeValue(SetAttributeValueCommandSettings 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.V147.DOM.SetAttributeValueCommandSettings.html">SetAttributeValueCommandSettings</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.V147.DOM.SetAttributeValueCommandResponse.html">SetAttributeValueCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetAttributesAsText_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetAttributesAsText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetAttributesAsText_OpenQA_Selenium_DevTools_V147_DOM_SetAttributesAsTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetAttributesAsText(OpenQA.Selenium.DevTools.V147.DOM.SetAttributesAsTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetAttributesAsText(SetAttributesAsTextCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L472"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets attributes on element with given id. This method is useful when user edits some existing
attribute value and types in several attribute name/value pairs.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetAttributesAsTextCommandResponse?&gt; SetAttributesAsText(SetAttributesAsTextCommandSettings 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.V147.DOM.SetAttributesAsTextCommandSettings.html">SetAttributesAsTextCommandSettings</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.V147.DOM.SetAttributesAsTextCommandResponse.html">SetAttributesAsTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetFileInputFiles_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetFileInputFiles*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetFileInputFiles_OpenQA_Selenium_DevTools_V147_DOM_SetFileInputFilesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetFileInputFiles(OpenQA.Selenium.DevTools.V147.DOM.SetFileInputFilesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetFileInputFiles(SetFileInputFilesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L480"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets files for the given file input element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetFileInputFilesCommandResponse?&gt; SetFileInputFiles(SetFileInputFilesCommandSettings 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.V147.DOM.SetFileInputFilesCommandSettings.html">SetFileInputFilesCommandSettings</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.V147.DOM.SetFileInputFilesCommandResponse.html">SetFileInputFilesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetInspectedNode_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetInspectedNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetInspectedNode_OpenQA_Selenium_DevTools_V147_DOM_SetInspectedNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetInspectedNode(OpenQA.Selenium.DevTools.V147.DOM.SetInspectedNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetInspectedNode(SetInspectedNodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L522"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables console to refer to the node with given id via $x (see Command Line API for more details
$x functions).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetInspectedNodeCommandResponse?&gt; SetInspectedNode(SetInspectedNodeCommandSettings 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.V147.DOM.SetInspectedNodeCommandSettings.html">SetInspectedNodeCommandSettings</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.V147.DOM.SetInspectedNodeCommandResponse.html">SetInspectedNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeName_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeName*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeName_OpenQA_Selenium_DevTools_V147_DOM_SetNodeNameCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeName(OpenQA.Selenium.DevTools.V147.DOM.SetNodeNameCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetNodeName(SetNodeNameCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L530"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets node name for a node with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetNodeNameCommandResponse&gt; SetNodeName(SetNodeNameCommandSettings 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.V147.DOM.SetNodeNameCommandSettings.html">SetNodeNameCommandSettings</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.V147.DOM.SetNodeNameCommandResponse.html">SetNodeNameCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeStackTracesEnabled_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeStackTracesEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeStackTracesEnabled_OpenQA_Selenium_DevTools_V147_DOM_SetNodeStackTracesEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeStackTracesEnabled(OpenQA.Selenium.DevTools.V147.DOM.SetNodeStackTracesEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L488"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets if stack traces should be captured for Nodes. See <code>Node.getNodeStackTraces</code>. Default is disabled.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetNodeStackTracesEnabledCommandResponse?&gt; SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings 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.V147.DOM.SetNodeStackTracesEnabledCommandSettings.html">SetNodeStackTracesEnabledCommandSettings</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.V147.DOM.SetNodeStackTracesEnabledCommandResponse.html">SetNodeStackTracesEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeValue_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeValue*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetNodeValue_OpenQA_Selenium_DevTools_V147_DOM_SetNodeValueCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetNodeValue(OpenQA.Selenium.DevTools.V147.DOM.SetNodeValueCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetNodeValue(SetNodeValueCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L538"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets node value for a node with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetNodeValueCommandResponse?&gt; SetNodeValue(SetNodeValueCommandSettings 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.V147.DOM.SetNodeValueCommandSettings.html">SetNodeValueCommandSettings</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.V147.DOM.SetNodeValueCommandResponse.html">SetNodeValueCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetOuterHTML_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetOuterHTML*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetOuterHTML_OpenQA_Selenium_DevTools_V147_DOM_SetOuterHTMLCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetOuterHTML(OpenQA.Selenium.DevTools.V147.DOM.SetOuterHTMLCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetOuterHTML(SetOuterHTMLCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L546"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets node HTML markup, returns new node id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetOuterHTMLCommandResponse?&gt; SetOuterHTML(SetOuterHTMLCommandSettings 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.V147.DOM.SetOuterHTMLCommandSettings.html">SetOuterHTMLCommandSettings</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.V147.DOM.SetOuterHTMLCommandResponse.html">SetOuterHTMLCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Undo_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Undo*"></a>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_Undo_OpenQA_Selenium_DevTools_V147_DOM_UndoCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.Undo(OpenQA.Selenium.DevTools.V147.DOM.UndoCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Undo(UndoCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L554"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Undoes the last performed action.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;UndoCommandResponse?&gt; Undo(UndoCommandSettings? 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.V147.DOM.UndoCommandSettings.html">UndoCommandSettings</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.V147.DOM.UndoCommandResponse.html">UndoCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_AdRelatedStateUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.AdRelatedStateUpdated">
AdRelatedStateUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L124"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a node's ad related state changes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AdRelatedStateUpdatedEventArgs&gt;? AdRelatedStateUpdated</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.V147.DOM.AdRelatedStateUpdatedEventArgs.html">AdRelatedStateUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_AdoptedStyleSheetsModified" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.AdoptedStyleSheetsModified">
AdoptedStyleSheetsModified
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L64"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Element</code>'s adoptedStyleSheets are modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AdoptedStyleSheetsModifiedEventArgs&gt;? AdoptedStyleSheetsModified</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.V147.DOM.AdoptedStyleSheetsModifiedEventArgs.html">AdoptedStyleSheetsModifiedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_AffectedByStartingStylesFlagUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.AffectedByStartingStylesFlagUpdated">
AffectedByStartingStylesFlagUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L129"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a node's starting styles changes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AffectedByStartingStylesFlagUpdatedEventArgs&gt;? AffectedByStartingStylesFlagUpdated</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.V147.DOM.AffectedByStartingStylesFlagUpdatedEventArgs.html">AffectedByStartingStylesFlagUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_AttributeModified" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.AttributeModified">
AttributeModified
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L59"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Element</code>'s attribute is modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AttributeModifiedEventArgs&gt;? AttributeModified</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.V147.DOM.AttributeModifiedEventArgs.html">AttributeModifiedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_AttributeRemoved" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.AttributeRemoved">
AttributeRemoved
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L69"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Element</code>'s attribute is removed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;AttributeRemovedEventArgs&gt;? AttributeRemoved</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.V147.DOM.AttributeRemovedEventArgs.html">AttributeRemovedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_CharacterDataModified" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.CharacterDataModified">
CharacterDataModified
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L74"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Mirrors <code>DOMCharacterDataModified</code> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;CharacterDataModifiedEventArgs&gt;? CharacterDataModified</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.V147.DOM.CharacterDataModifiedEventArgs.html">CharacterDataModifiedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ChildNodeCountUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ChildNodeCountUpdated">
ChildNodeCountUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L79"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Container</code>'s child node count has changed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ChildNodeCountUpdatedEventArgs&gt;? ChildNodeCountUpdated</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.V147.DOM.ChildNodeCountUpdatedEventArgs.html">ChildNodeCountUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ChildNodeInserted" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ChildNodeInserted">
ChildNodeInserted
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L84"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Mirrors <code>DOMNodeInserted</code> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ChildNodeInsertedEventArgs&gt;? ChildNodeInserted</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.V147.DOM.ChildNodeInsertedEventArgs.html">ChildNodeInsertedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ChildNodeRemoved" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ChildNodeRemoved">
ChildNodeRemoved
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L89"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Mirrors <code>DOMNodeRemoved</code> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ChildNodeRemovedEventArgs&gt;? ChildNodeRemoved</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.V147.DOM.ChildNodeRemovedEventArgs.html">ChildNodeRemovedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DistributedNodesUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DistributedNodesUpdated">
DistributedNodesUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L94"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when distribution is changed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DistributedNodesUpdatedEventArgs&gt;? DistributedNodesUpdated</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.V147.DOM.DistributedNodesUpdatedEventArgs.html">DistributedNodesUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_DocumentUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.DocumentUpdated">
DocumentUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L99"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Document</code> has been totally updated. Node ids are no longer valid.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DocumentUpdatedEventArgs&gt;? DocumentUpdated</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.V147.DOM.DocumentUpdatedEventArgs.html">DocumentUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_InlineStyleInvalidated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.InlineStyleInvalidated">
InlineStyleInvalidated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L104"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when <code>Element</code>'s inline style is modified via a CSS property modification.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;InlineStyleInvalidatedEventArgs&gt;? InlineStyleInvalidated</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.V147.DOM.InlineStyleInvalidatedEventArgs.html">InlineStyleInvalidatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PseudoElementAdded" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PseudoElementAdded">
PseudoElementAdded
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L109"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when a pseudo element is added to an element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;PseudoElementAddedEventArgs&gt;? PseudoElementAdded</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.V147.DOM.PseudoElementAddedEventArgs.html">PseudoElementAddedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_PseudoElementRemoved" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.PseudoElementRemoved">
PseudoElementRemoved
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L134"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when a pseudo element is removed from an element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;PseudoElementRemovedEventArgs&gt;? PseudoElementRemoved</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.V147.DOM.PseudoElementRemovedEventArgs.html">PseudoElementRemovedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ScrollableFlagUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ScrollableFlagUpdated">
ScrollableFlagUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L119"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a node's scrollability state changes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ScrollableFlagUpdatedEventArgs&gt;? ScrollableFlagUpdated</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.V147.DOM.ScrollableFlagUpdatedEventArgs.html">ScrollableFlagUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_SetChildNodes" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.SetChildNodes">
SetChildNodes
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L140"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when backend wants to provide client with the missing DOM structure. This happens upon
most of the calls requesting node ids.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;SetChildNodesEventArgs&gt;? SetChildNodes</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.V147.DOM.SetChildNodesEventArgs.html">SetChildNodesEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ShadowRootPopped" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ShadowRootPopped">
ShadowRootPopped
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L145"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when shadow root is popped from the element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ShadowRootPoppedEventArgs&gt;? ShadowRootPopped</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.V147.DOM.ShadowRootPoppedEventArgs.html">ShadowRootPoppedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_ShadowRootPushed" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.ShadowRootPushed">
ShadowRootPushed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L150"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when shadow root is pushed into the element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ShadowRootPushedEventArgs&gt;? ShadowRootPushed</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.V147.DOM.ShadowRootPushedEventArgs.html">ShadowRootPushedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V147_DOM_DOMAdapter_TopLayerElementsUpdated" data-uid="OpenQA.Selenium.DevTools.V147.DOM.DOMAdapter.TopLayerElementsUpdated">
TopLayerElementsUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.cs/#L114"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Called when top layer elements are changed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;TopLayerElementsUpdatedEventArgs&gt;? TopLayerElementsUpdated</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.V147.DOM.TopLayerElementsUpdatedEventArgs.html">TopLayerElementsUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v147/DOM/DOMAdapter.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>