blob: 6e889c7c4902cdaf1f9fb5d5bd142ddc6578056b [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class CSSAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class CSSAdapter ">
<meta name="description" content="Represents an adapter for the CSS 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_V148_CSS_CSSAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter%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.V148.CSS.CSSAdapter">
<h1 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter" class="text-break">
Class CSSAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.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.V148.html">V148</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V148.CSS.html">CSS</a></dd></dl>
<dl><dt>Assembly</dt><dd>Selenium.WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the CSS domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class CSSAdapter</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">CSSAdapter</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_V148_CSS_CSSAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
CSSAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the CSSAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public CSSAdapter(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_V148_CSS_CSSAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.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/v148/CSS/CSSAdapter.cs/#L41"><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_V148_CSS_CSSAdapter_AddRule_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.AddRule*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_AddRule_OpenQA_Selenium_DevTools_V148_CSS_AddRuleCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.AddRule(OpenQA.Selenium.DevTools.V148.CSS.AddRuleCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AddRule(AddRuleCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L81"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Inserts a new rule with the given <code>ruleText</code> in a stylesheet with given <code>styleSheetId</code>, at the
position specified by <code>location</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AddRuleCommandResponse&gt; AddRule(AddRuleCommandSettings 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.V148.CSS.AddRuleCommandSettings.html">AddRuleCommandSettings</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.V148.CSS.AddRuleCommandResponse.html">AddRuleCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_CollectClassNames_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.CollectClassNames*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_CollectClassNames_OpenQA_Selenium_DevTools_V148_CSS_CollectClassNamesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.CollectClassNames(OpenQA.Selenium.DevTools.V148.CSS.CollectClassNamesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CollectClassNames(CollectClassNamesCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L89"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns all class names from specified stylesheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CollectClassNamesCommandResponse&gt; CollectClassNames(CollectClassNamesCommandSettings 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.V148.CSS.CollectClassNamesCommandSettings.html">CollectClassNamesCommandSettings</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.V148.CSS.CollectClassNamesCommandResponse.html">CollectClassNamesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_CreateStyleSheet_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.CreateStyleSheet*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_CreateStyleSheet_OpenQA_Selenium_DevTools_V148_CSS_CreateStyleSheetCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.CreateStyleSheet(OpenQA.Selenium.DevTools.V148.CSS.CreateStyleSheetCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CreateStyleSheet(CreateStyleSheetCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L97"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Creates a new special &quot;via-inspector&quot; stylesheet in the frame with given <code>frameId</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CreateStyleSheetCommandResponse&gt; CreateStyleSheet(CreateStyleSheetCommandSettings 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.V148.CSS.CreateStyleSheetCommandSettings.html">CreateStyleSheetCommandSettings</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.V148.CSS.CreateStyleSheetCommandResponse.html">CreateStyleSheetCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_Disable_OpenQA_Selenium_DevTools_V148_CSS_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.Disable(OpenQA.Selenium.DevTools.V148.CSS.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/v148/CSS/CSSAdapter.cs/#L105"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Disables the CSS 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.V148.CSS.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.V148.CSS.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_Enable_OpenQA_Selenium_DevTools_V148_CSS_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.Enable(OpenQA.Selenium.DevTools.V148.CSS.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/v148/CSS/CSSAdapter.cs/#L114"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
enabled until the result of this command is received.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EnableCommandResponse?&gt; Enable(EnableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V148.CSS.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.V148.CSS.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ForcePseudoState_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ForcePseudoState*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ForcePseudoState_OpenQA_Selenium_DevTools_V148_CSS_ForcePseudoStateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ForcePseudoState(OpenQA.Selenium.DevTools.V148.CSS.ForcePseudoStateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ForcePseudoState(ForcePseudoStateCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L123"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Ensures that the given node will have specified pseudo-classes whenever its style is computed by
the browser.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ForcePseudoStateCommandResponse?&gt; ForcePseudoState(ForcePseudoStateCommandSettings 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.V148.CSS.ForcePseudoStateCommandSettings.html">ForcePseudoStateCommandSettings</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.V148.CSS.ForcePseudoStateCommandResponse.html">ForcePseudoStateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ForceStartingStyle_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ForceStartingStyle*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ForceStartingStyle_OpenQA_Selenium_DevTools_V148_CSS_ForceStartingStyleCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ForceStartingStyle(OpenQA.Selenium.DevTools.V148.CSS.ForceStartingStyleCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ForceStartingStyle(ForceStartingStyleCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L131"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Ensures that the given node is in its starting-style state.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ForceStartingStyleCommandResponse?&gt; ForceStartingStyle(ForceStartingStyleCommandSettings 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.V148.CSS.ForceStartingStyleCommandSettings.html">ForceStartingStyleCommandSettings</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.V148.CSS.ForceStartingStyleCommandResponse.html">ForceStartingStyleCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetAnimatedStylesForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetAnimatedStylesForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetAnimatedStylesForNode_OpenQA_Selenium_DevTools_V148_CSS_GetAnimatedStylesForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetAnimatedStylesForNode(OpenQA.Selenium.DevTools.V148.CSS.GetAnimatedStylesForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAnimatedStylesForNode(GetAnimatedStylesForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L191"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the styles coming from animations &amp; transitions
including the animation &amp; transition styles coming from inheritance chain.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAnimatedStylesForNodeCommandResponse&gt; GetAnimatedStylesForNode(GetAnimatedStylesForNodeCommandSettings 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.V148.CSS.GetAnimatedStylesForNodeCommandSettings.html">GetAnimatedStylesForNodeCommandSettings</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.V148.CSS.GetAnimatedStylesForNodeCommandResponse.html">GetAnimatedStylesForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetBackgroundColors_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetBackgroundColors*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetBackgroundColors_OpenQA_Selenium_DevTools_V148_CSS_GetBackgroundColorsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetBackgroundColors(OpenQA.Selenium.DevTools.V148.CSS.GetBackgroundColorsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetBackgroundColors(GetBackgroundColorsCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L139"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getBackgroundColors</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetBackgroundColorsCommandResponse&gt; GetBackgroundColors(GetBackgroundColorsCommandSettings 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.V148.CSS.GetBackgroundColorsCommandSettings.html">GetBackgroundColorsCommandSettings</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.V148.CSS.GetBackgroundColorsCommandResponse.html">GetBackgroundColorsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetComputedStyleForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetComputedStyleForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetComputedStyleForNode_OpenQA_Selenium_DevTools_V148_CSS_GetComputedStyleForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetComputedStyleForNode(OpenQA.Selenium.DevTools.V148.CSS.GetComputedStyleForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetComputedStyleForNode(GetComputedStyleForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L147"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the computed style for a DOM node identified by <code>nodeId</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetComputedStyleForNodeCommandResponse&gt; GetComputedStyleForNode(GetComputedStyleForNodeCommandSettings 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.V148.CSS.GetComputedStyleForNodeCommandSettings.html">GetComputedStyleForNodeCommandSettings</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.V148.CSS.GetComputedStyleForNodeCommandResponse.html">GetComputedStyleForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetEnvironmentVariables_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetEnvironmentVariables*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetEnvironmentVariables_OpenQA_Selenium_DevTools_V148_CSS_GetEnvironmentVariablesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetEnvironmentVariables(OpenQA.Selenium.DevTools.V148.CSS.GetEnvironmentVariablesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetEnvironmentVariables(GetEnvironmentVariablesCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L207"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the values of the default UA-defined environment variables used in env()</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetEnvironmentVariablesCommandResponse&gt; GetEnvironmentVariables(GetEnvironmentVariablesCommandSettings? 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.V148.CSS.GetEnvironmentVariablesCommandSettings.html">GetEnvironmentVariablesCommandSettings</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.V148.CSS.GetEnvironmentVariablesCommandResponse.html">GetEnvironmentVariablesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetInlineStylesForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetInlineStylesForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetInlineStylesForNode_OpenQA_Selenium_DevTools_V148_CSS_GetInlineStylesForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetInlineStylesForNode(OpenQA.Selenium.DevTools.V148.CSS.GetInlineStylesForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetInlineStylesForNode(GetInlineStylesForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L182"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the styles defined inline (explicitly in the &quot;style&quot; attribute and implicitly, using DOM
attributes) for a DOM node identified by <code>nodeId</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetInlineStylesForNodeCommandResponse&gt; GetInlineStylesForNode(GetInlineStylesForNodeCommandSettings 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.V148.CSS.GetInlineStylesForNodeCommandSettings.html">GetInlineStylesForNodeCommandSettings</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.V148.CSS.GetInlineStylesForNodeCommandResponse.html">GetInlineStylesForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLayersForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLayersForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLayersForNode_OpenQA_Selenium_DevTools_V148_CSS_GetLayersForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLayersForNode(OpenQA.Selenium.DevTools.V148.CSS.GetLayersForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetLayersForNode(GetLayersForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L243"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns all layers parsed by the rendering engine for the tree scope of a node.
Given a DOM element identified by nodeId, getLayersForNode returns the root
layer for the nearest ancestor document or shadow root. The layer root contains
the full layer tree for the tree scope and their ordering.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetLayersForNodeCommandResponse&gt; GetLayersForNode(GetLayersForNodeCommandSettings 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.V148.CSS.GetLayersForNodeCommandSettings.html">GetLayersForNodeCommandSettings</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.V148.CSS.GetLayersForNodeCommandResponse.html">GetLayersForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLocationForSelector_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLocationForSelector*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLocationForSelector_OpenQA_Selenium_DevTools_V148_CSS_GetLocationForSelectorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLocationForSelector(OpenQA.Selenium.DevTools.V148.CSS.GetLocationForSelectorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetLocationForSelector(GetLocationForSelectorCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L252"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Given a CSS selector text and a style sheet ID, getLocationForSelector
returns an array of locations of the CSS selector in the style sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetLocationForSelectorCommandResponse&gt; GetLocationForSelector(GetLocationForSelectorCommandSettings 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.V148.CSS.GetLocationForSelectorCommandSettings.html">GetLocationForSelectorCommandSettings</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.V148.CSS.GetLocationForSelectorCommandResponse.html">GetLocationForSelectorCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLonghandProperties_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLonghandProperties*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetLonghandProperties_OpenQA_Selenium_DevTools_V148_CSS_GetLonghandPropertiesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetLonghandProperties(OpenQA.Selenium.DevTools.V148.CSS.GetLonghandPropertiesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetLonghandProperties(GetLonghandPropertiesCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L173"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getLonghandProperties</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetLonghandPropertiesCommandResponse&gt; GetLonghandProperties(GetLonghandPropertiesCommandSettings 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.V148.CSS.GetLonghandPropertiesCommandSettings.html">GetLonghandPropertiesCommandSettings</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.V148.CSS.GetLonghandPropertiesCommandResponse.html">GetLonghandPropertiesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetMatchedStylesForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetMatchedStylesForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetMatchedStylesForNode_OpenQA_Selenium_DevTools_V148_CSS_GetMatchedStylesForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetMatchedStylesForNode(OpenQA.Selenium.DevTools.V148.CSS.GetMatchedStylesForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetMatchedStylesForNode(GetMatchedStylesForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L199"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns requested styles for a DOM node identified by <code>nodeId</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetMatchedStylesForNodeCommandResponse&gt; GetMatchedStylesForNode(GetMatchedStylesForNodeCommandSettings 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.V148.CSS.GetMatchedStylesForNodeCommandSettings.html">GetMatchedStylesForNodeCommandSettings</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.V148.CSS.GetMatchedStylesForNodeCommandResponse.html">GetMatchedStylesForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetMediaQueries_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetMediaQueries*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetMediaQueries_OpenQA_Selenium_DevTools_V148_CSS_GetMediaQueriesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetMediaQueries(OpenQA.Selenium.DevTools.V148.CSS.GetMediaQueriesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetMediaQueries(GetMediaQueriesCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L215"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns all media queries parsed by the rendering engine.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetMediaQueriesCommandResponse&gt; GetMediaQueries(GetMediaQueriesCommandSettings? 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.V148.CSS.GetMediaQueriesCommandSettings.html">GetMediaQueriesCommandSettings</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.V148.CSS.GetMediaQueriesCommandResponse.html">GetMediaQueriesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetPlatformFontsForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetPlatformFontsForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetPlatformFontsForNode_OpenQA_Selenium_DevTools_V148_CSS_GetPlatformFontsForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetPlatformFontsForNode(OpenQA.Selenium.DevTools.V148.CSS.GetPlatformFontsForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetPlatformFontsForNode(GetPlatformFontsForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L224"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests information about platform fonts which we used to render child TextNodes in the given
node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetPlatformFontsForNodeCommandResponse&gt; GetPlatformFontsForNode(GetPlatformFontsForNodeCommandSettings 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.V148.CSS.GetPlatformFontsForNodeCommandSettings.html">GetPlatformFontsForNodeCommandSettings</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.V148.CSS.GetPlatformFontsForNodeCommandResponse.html">GetPlatformFontsForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetStyleSheetText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetStyleSheetText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_GetStyleSheetText_OpenQA_Selenium_DevTools_V148_CSS_GetStyleSheetTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.GetStyleSheetText(OpenQA.Selenium.DevTools.V148.CSS.GetStyleSheetTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetStyleSheetText(GetStyleSheetTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L232"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the current textual content for a stylesheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetStyleSheetTextCommandResponse&gt; GetStyleSheetText(GetStyleSheetTextCommandSettings 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.V148.CSS.GetStyleSheetTextCommandSettings.html">GetStyleSheetTextCommandSettings</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.V148.CSS.GetStyleSheetTextCommandResponse.html">GetStyleSheetTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ResolveValues_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ResolveValues*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ResolveValues_OpenQA_Selenium_DevTools_V148_CSS_ResolveValuesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ResolveValues(OpenQA.Selenium.DevTools.V148.CSS.ResolveValuesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ResolveValues(ResolveValuesCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L165"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Resolve the specified values in the context of the provided element.
For example, a value of '1em' is evaluated according to the computed
'font-size' of the element and a value 'calc(1px + 2px)' will be
resolved to '3px'.
If the <code>propertyName</code> was specified the <code>values</code> are resolved as if
they were property's declaration. If a value cannot be parsed according
to the provided property syntax, the value is parsed using combined
syntax as if null <code>propertyName</code> was provided. If the value cannot be
resolved even then, return the provided value without any changes.
Note: this function currently does not resolve CSS random() function,
it returns unmodified random() function parts.`</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ResolveValuesCommandResponse&gt; ResolveValues(ResolveValuesCommandSettings 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.V148.CSS.ResolveValuesCommandSettings.html">ResolveValuesCommandSettings</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.V148.CSS.ResolveValuesCommandResponse.html">ResolveValuesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetContainerQueryText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetContainerQueryText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetContainerQueryText_OpenQA_Selenium_DevTools_V148_CSS_SetContainerQueryTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetContainerQueryText(OpenQA.Selenium.DevTools.V148.CSS.SetContainerQueryTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetContainerQueryText(SetContainerQueryTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L327"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the expression of a container query.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetContainerQueryTextCommandResponse&gt; SetContainerQueryText(SetContainerQueryTextCommandSettings 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.V148.CSS.SetContainerQueryTextCommandSettings.html">SetContainerQueryTextCommandSettings</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.V148.CSS.SetContainerQueryTextCommandResponse.html">SetContainerQueryTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetEffectivePropertyValueForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetEffectivePropertyValueForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetEffectivePropertyValueForNode_OpenQA_Selenium_DevTools_V148_CSS_SetEffectivePropertyValueForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetEffectivePropertyValueForNode(OpenQA.Selenium.DevTools.V148.CSS.SetEffectivePropertyValueForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetEffectivePropertyValueForNode(SetEffectivePropertyValueForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L295"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Find a rule with the given active property for the given node and set the new value for this
property</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetEffectivePropertyValueForNodeCommandResponse?&gt; SetEffectivePropertyValueForNode(SetEffectivePropertyValueForNodeCommandSettings 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.V148.CSS.SetEffectivePropertyValueForNodeCommandSettings.html">SetEffectivePropertyValueForNodeCommandSettings</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.V148.CSS.SetEffectivePropertyValueForNodeCommandResponse.html">SetEffectivePropertyValueForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetKeyframeKey_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetKeyframeKey*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetKeyframeKey_OpenQA_Selenium_DevTools_V148_CSS_SetKeyframeKeyCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetKeyframeKey(OpenQA.Selenium.DevTools.V148.CSS.SetKeyframeKeyCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetKeyframeKey(SetKeyframeKeyCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L311"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the keyframe rule key text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetKeyframeKeyCommandResponse&gt; SetKeyframeKey(SetKeyframeKeyCommandSettings 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.V148.CSS.SetKeyframeKeyCommandSettings.html">SetKeyframeKeyCommandSettings</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.V148.CSS.SetKeyframeKeyCommandResponse.html">SetKeyframeKeyCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetLocalFontsEnabled_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetLocalFontsEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetLocalFontsEnabled_OpenQA_Selenium_DevTools_V148_CSS_SetLocalFontsEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetLocalFontsEnabled(OpenQA.Selenium.DevTools.V148.CSS.SetLocalFontsEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetLocalFontsEnabled(SetLocalFontsEnabledCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L409"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables/disables rendering of local CSS fonts (enabled by default).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetLocalFontsEnabledCommandResponse?&gt; SetLocalFontsEnabled(SetLocalFontsEnabledCommandSettings 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.V148.CSS.SetLocalFontsEnabledCommandSettings.html">SetLocalFontsEnabledCommandSettings</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.V148.CSS.SetLocalFontsEnabledCommandResponse.html">SetLocalFontsEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetMediaText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetMediaText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetMediaText_OpenQA_Selenium_DevTools_V148_CSS_SetMediaTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetMediaText(OpenQA.Selenium.DevTools.V148.CSS.SetMediaTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetMediaText(SetMediaTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L319"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the rule selector.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetMediaTextCommandResponse&gt; SetMediaText(SetMediaTextCommandSettings 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.V148.CSS.SetMediaTextCommandSettings.html">SetMediaTextCommandSettings</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.V148.CSS.SetMediaTextCommandResponse.html">SetMediaTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetNavigationText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetNavigationText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetNavigationText_OpenQA_Selenium_DevTools_V148_CSS_SetNavigationTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetNavigationText(OpenQA.Selenium.DevTools.V148.CSS.SetNavigationTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetNavigationText(SetNavigationTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L343"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the expression of a navigation at-rule.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetNavigationTextCommandResponse&gt; SetNavigationText(SetNavigationTextCommandSettings 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.V148.CSS.SetNavigationTextCommandSettings.html">SetNavigationTextCommandSettings</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.V148.CSS.SetNavigationTextCommandResponse.html">SetNavigationTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetPropertyRulePropertyName_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetPropertyRulePropertyName*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetPropertyRulePropertyName_OpenQA_Selenium_DevTools_V148_CSS_SetPropertyRulePropertyNameCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetPropertyRulePropertyName(OpenQA.Selenium.DevTools.V148.CSS.SetPropertyRulePropertyNameCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetPropertyRulePropertyName(SetPropertyRulePropertyNameCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L303"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the property rule property name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetPropertyRulePropertyNameCommandResponse&gt; SetPropertyRulePropertyName(SetPropertyRulePropertyNameCommandSettings 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.V148.CSS.SetPropertyRulePropertyNameCommandSettings.html">SetPropertyRulePropertyNameCommandSettings</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.V148.CSS.SetPropertyRulePropertyNameCommandResponse.html">SetPropertyRulePropertyNameCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetRuleSelector_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetRuleSelector*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetRuleSelector_OpenQA_Selenium_DevTools_V148_CSS_SetRuleSelectorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetRuleSelector(OpenQA.Selenium.DevTools.V148.CSS.SetRuleSelectorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetRuleSelector(SetRuleSelectorCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L359"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the rule selector.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetRuleSelectorCommandResponse&gt; SetRuleSelector(SetRuleSelectorCommandSettings 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.V148.CSS.SetRuleSelectorCommandSettings.html">SetRuleSelectorCommandSettings</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.V148.CSS.SetRuleSelectorCommandResponse.html">SetRuleSelectorCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetScopeText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetScopeText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetScopeText_OpenQA_Selenium_DevTools_V148_CSS_SetScopeTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetScopeText(OpenQA.Selenium.DevTools.V148.CSS.SetScopeTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetScopeText(SetScopeTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L351"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the expression of a scope at-rule.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetScopeTextCommandResponse&gt; SetScopeText(SetScopeTextCommandSettings 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.V148.CSS.SetScopeTextCommandSettings.html">SetScopeTextCommandSettings</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.V148.CSS.SetScopeTextCommandResponse.html">SetScopeTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetStyleSheetText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetStyleSheetText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetStyleSheetText_OpenQA_Selenium_DevTools_V148_CSS_SetStyleSheetTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetStyleSheetText(OpenQA.Selenium.DevTools.V148.CSS.SetStyleSheetTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetStyleSheetText(SetStyleSheetTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L367"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets the new stylesheet text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetStyleSheetTextCommandResponse&gt; SetStyleSheetText(SetStyleSheetTextCommandSettings 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.V148.CSS.SetStyleSheetTextCommandSettings.html">SetStyleSheetTextCommandSettings</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.V148.CSS.SetStyleSheetTextCommandResponse.html">SetStyleSheetTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetStyleTexts_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetStyleTexts*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetStyleTexts_OpenQA_Selenium_DevTools_V148_CSS_SetStyleTextsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetStyleTexts(OpenQA.Selenium.DevTools.V148.CSS.SetStyleTextsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetStyleTexts(SetStyleTextsCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L375"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Applies specified style edits one after another in the given order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetStyleTextsCommandResponse&gt; SetStyleTexts(SetStyleTextsCommandSettings 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.V148.CSS.SetStyleTextsCommandSettings.html">SetStyleTextsCommandSettings</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.V148.CSS.SetStyleTextsCommandResponse.html">SetStyleTextsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetSupportsText_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetSupportsText*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_SetSupportsText_OpenQA_Selenium_DevTools_V148_CSS_SetSupportsTextCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.SetSupportsText(OpenQA.Selenium.DevTools.V148.CSS.SetSupportsTextCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetSupportsText(SetSupportsTextCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L335"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Modifies the expression of a supports at-rule.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetSupportsTextCommandResponse&gt; SetSupportsText(SetSupportsTextCommandSettings 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.V148.CSS.SetSupportsTextCommandSettings.html">SetSupportsTextCommandSettings</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.V148.CSS.SetSupportsTextCommandResponse.html">SetSupportsTextCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StartRuleUsageTracking_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StartRuleUsageTracking*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StartRuleUsageTracking_OpenQA_Selenium_DevTools_V148_CSS_StartRuleUsageTrackingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StartRuleUsageTracking(OpenQA.Selenium.DevTools.V148.CSS.StartRuleUsageTrackingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StartRuleUsageTracking(StartRuleUsageTrackingCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L383"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables the selector recording.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StartRuleUsageTrackingCommandResponse?&gt; StartRuleUsageTracking(StartRuleUsageTrackingCommandSettings? 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.V148.CSS.StartRuleUsageTrackingCommandSettings.html">StartRuleUsageTrackingCommandSettings</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.V148.CSS.StartRuleUsageTrackingCommandResponse.html">StartRuleUsageTrackingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StopRuleUsageTracking_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StopRuleUsageTracking*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StopRuleUsageTracking_OpenQA_Selenium_DevTools_V148_CSS_StopRuleUsageTrackingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StopRuleUsageTracking(OpenQA.Selenium.DevTools.V148.CSS.StopRuleUsageTrackingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StopRuleUsageTracking(StopRuleUsageTrackingCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L392"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Stop tracking rule usage and return the list of rules that were used since last call to
<code>takeCoverageDelta</code> (or since start of coverage instrumentation).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StopRuleUsageTrackingCommandResponse&gt; StopRuleUsageTracking(StopRuleUsageTrackingCommandSettings? 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.V148.CSS.StopRuleUsageTrackingCommandSettings.html">StopRuleUsageTrackingCommandSettings</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.V148.CSS.StopRuleUsageTrackingCommandResponse.html">StopRuleUsageTrackingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TakeComputedStyleUpdates_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TakeComputedStyleUpdates*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TakeComputedStyleUpdates_OpenQA_Selenium_DevTools_V148_CSS_TakeComputedStyleUpdatesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TakeComputedStyleUpdates(OpenQA.Selenium.DevTools.V148.CSS.TakeComputedStyleUpdatesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
TakeComputedStyleUpdates(TakeComputedStyleUpdatesCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L286"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Polls the next batch of computed style updates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;TakeComputedStyleUpdatesCommandResponse&gt; TakeComputedStyleUpdates(TakeComputedStyleUpdatesCommandSettings? 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.V148.CSS.TakeComputedStyleUpdatesCommandSettings.html">TakeComputedStyleUpdatesCommandSettings</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.V148.CSS.TakeComputedStyleUpdatesCommandResponse.html">TakeComputedStyleUpdatesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TakeCoverageDelta_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TakeCoverageDelta*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TakeCoverageDelta_OpenQA_Selenium_DevTools_V148_CSS_TakeCoverageDeltaCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TakeCoverageDelta(OpenQA.Selenium.DevTools.V148.CSS.TakeCoverageDeltaCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
TakeCoverageDelta(TakeCoverageDeltaCommandSettings?, 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/v148/CSS/CSSAdapter.cs/#L401"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Obtain list of rules that became used since last call to this method (or since start of coverage
instrumentation).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;TakeCoverageDeltaCommandResponse&gt; TakeCoverageDelta(TakeCoverageDeltaCommandSettings? 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.V148.CSS.TakeCoverageDeltaCommandSettings.html">TakeCoverageDeltaCommandSettings</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.V148.CSS.TakeCoverageDeltaCommandResponse.html">TakeCoverageDeltaCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TrackComputedStyleUpdates_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TrackComputedStyleUpdates*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TrackComputedStyleUpdates_OpenQA_Selenium_DevTools_V148_CSS_TrackComputedStyleUpdatesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TrackComputedStyleUpdates(OpenQA.Selenium.DevTools.V148.CSS.TrackComputedStyleUpdatesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
TrackComputedStyleUpdates(TrackComputedStyleUpdatesCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L278"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Starts tracking the given computed styles for updates. The specified array of properties
replaces the one previously specified. Pass empty array to disable tracking.
Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
The changes to computed style properties are only tracked for nodes pushed to the front-end
by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
to the front-end, no updates will be issued for the node.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;TrackComputedStyleUpdatesCommandResponse?&gt; TrackComputedStyleUpdates(TrackComputedStyleUpdatesCommandSettings 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.V148.CSS.TrackComputedStyleUpdatesCommandSettings.html">TrackComputedStyleUpdatesCommandSettings</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.V148.CSS.TrackComputedStyleUpdatesCommandResponse.html">TrackComputedStyleUpdatesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TrackComputedStyleUpdatesForNode_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TrackComputedStyleUpdatesForNode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_TrackComputedStyleUpdatesForNode_OpenQA_Selenium_DevTools_V148_CSS_TrackComputedStyleUpdatesForNodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.TrackComputedStyleUpdatesForNode(OpenQA.Selenium.DevTools.V148.CSS.TrackComputedStyleUpdatesForNodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
TrackComputedStyleUpdatesForNode(TrackComputedStyleUpdatesForNodeCommandSettings, 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/v148/CSS/CSSAdapter.cs/#L265"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Starts tracking the given node for the computed style updates
and whenever the computed style is updated for node, it queues
a <code>computedStyleUpdated</code> event with throttling.
There can only be 1 node tracked for computed style updates
so passing a new node id removes tracking from the previous node.
Pass <code>undefined</code> to disable tracking.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;TrackComputedStyleUpdatesForNodeCommandResponse?&gt; TrackComputedStyleUpdatesForNode(TrackComputedStyleUpdatesForNodeCommandSettings 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.V148.CSS.TrackComputedStyleUpdatesForNodeCommandSettings.html">TrackComputedStyleUpdatesForNodeCommandSettings</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.V148.CSS.TrackComputedStyleUpdatesForNodeCommandResponse.html">TrackComputedStyleUpdatesForNodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_ComputedStyleUpdated" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.ComputedStyleUpdated">
ComputedStyleUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L73"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>computedStyleUpdated</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ComputedStyleUpdatedEventArgs&gt;? ComputedStyleUpdated</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.V148.CSS.ComputedStyleUpdatedEventArgs.html">ComputedStyleUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_FontsUpdated" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.FontsUpdated">
FontsUpdated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L47"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
web font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FontsUpdatedEventArgs&gt;? FontsUpdated</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.V148.CSS.FontsUpdatedEventArgs.html">FontsUpdatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_MediaQueryResultChanged" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.MediaQueryResultChanged">
MediaQueryResultChanged
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L53"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fires whenever a MediaQuery result changes (for example, after a browser window has been
resized.) The current implementation considers only viewport-dependent media features.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;MediaQueryResultChangedEventArgs&gt;? MediaQueryResultChanged</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.V148.CSS.MediaQueryResultChangedEventArgs.html">MediaQueryResultChangedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StyleSheetAdded" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StyleSheetAdded">
StyleSheetAdded
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L58"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired whenever an active document stylesheet is added.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;StyleSheetAddedEventArgs&gt;? StyleSheetAdded</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.V148.CSS.StyleSheetAddedEventArgs.html">StyleSheetAddedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StyleSheetChanged" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StyleSheetChanged">
StyleSheetChanged
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L63"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired whenever a stylesheet is changed as a result of the client operation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;StyleSheetChangedEventArgs&gt;? StyleSheetChanged</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.V148.CSS.StyleSheetChangedEventArgs.html">StyleSheetChangedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V148_CSS_CSSAdapter_StyleSheetRemoved" data-uid="OpenQA.Selenium.DevTools.V148.CSS.CSSAdapter.StyleSheetRemoved">
StyleSheetRemoved
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v148/CSS/CSSAdapter.cs/#L68"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired whenever an active document stylesheet is removed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;StyleSheetRemovedEventArgs&gt;? StyleSheetRemoved</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.V148.CSS.StyleSheetRemovedEventArgs.html">StyleSheetRemovedEventArgs</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/v148/CSS/CSSAdapter.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>