| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>Class LayerTreeAdapter </title> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="title" content="Class LayerTreeAdapter "> |
| |
| <meta name="description" content="Represents an adapter for the LayerTree domain to simplify the command interface."> |
| <link rel="icon" href="../images/favicon.ico"> |
| <link rel="stylesheet" href="../public/docfx.min.css"> |
| <link rel="stylesheet" href="../public/main.css"> |
| <meta name="docfx:navrel" content="../toc.html"> |
| <meta name="docfx:tocrel" content="toc.html"> |
| |
| <meta name="docfx:rel" content="../"> |
| |
| |
| <meta name="docfx:docurl" content="https://github.com/SeleniumHQ/selenium/new/trunk/apiSpec/new?filename=OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter.md&value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A"> |
| <meta name="loc:inThisArticle" content="In this article"> |
| <meta name="loc:searchResultsCount" content="{count} results for "{query}""> |
| <meta name="loc:searchNoResults" content="No results for "{query}""> |
| <meta name="loc:tocFilter" content="Filter by title"> |
| <meta name="loc:nextArticle" content="Next"> |
| <meta name="loc:prevArticle" content="Previous"> |
| <meta name="loc:themeLight" content="Light"> |
| <meta name="loc:themeDark" content="Dark"> |
| <meta name="loc:themeAuto" content="Auto"> |
| <meta name="loc:changeTheme" content="Change theme"> |
| <meta name="loc:copy" content="Copy"> |
| <meta name="loc:downloadPdf" content="Download PDF"> |
| |
| <script type="module" src="./../public/docfx.min.js"></script> |
| |
| <script> |
| const theme = localStorage.getItem('theme') || 'auto' |
| document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| </script> |
| |
| </head> |
| |
| <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference"> |
| <header class="bg-body border-bottom"> |
| <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation"> |
| <div class="container-xxl flex-nowrap"> |
| <a class="navbar-brand" href="../index.html"> |
| <img id="logo" class="svg" src="../images/logo.svg" alt="Selenium .NET API"> |
| Selenium .NET API |
| </a> |
| <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation"> |
| <i class="bi bi-three-dots"></i> |
| </button> |
| <div class="collapse navbar-collapse" id="navpanel"> |
| <div id="navbar"> |
| <form class="search" role="search" id="search"> |
| <i class="bi bi-search"></i> |
| <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search"> |
| </form> |
| </div> |
| </div> |
| </div> |
| </nav> |
| </header> |
| |
| <main class="container-xxl"> |
| <div class="toc-offcanvas"> |
| <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel"> |
| <div class="offcanvas-header"> |
| <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5> |
| <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button> |
| </div> |
| <div class="offcanvas-body"> |
| <nav class="toc" id="toc"></nav> |
| </div> |
| </div> |
| </div> |
| |
| <div class="content"> |
| <div class="actionbar"> |
| <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents"> |
| <i class="bi bi-list"></i> |
| </button> |
| |
| <nav id="breadcrumb"></nav> |
| </div> |
| |
| <article data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter"> |
| |
| |
| |
| <h1 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter" class="text-break"> |
| Class LayerTreeAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.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.V134.html">V134</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.html">LayerTree</a></dd></dl> |
| <dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl> |
| </div> |
| |
| <div class="markdown summary"><p>Represents an adapter for the LayerTree domain to simplify the command interface.</p> |
| </div> |
| <div class="markdown conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class LayerTreeAdapter</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">LayerTreeAdapter</span></div> |
| </dd> |
| </dl> |
| |
| |
| |
| <dl class="typelist inheritedMembers"> |
| <dt>Inherited Members</dt> |
| <dd> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a> |
| </div> |
| <div> |
| <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a> |
| </div> |
| </dd></dl> |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="constructors">Constructors |
| </h2> |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.#ctor*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)"> |
| LayerTreeAdapter(IDevToolsSession) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>Initializes a new instance of the LayerTreeAdapter class.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public LayerTreeAdapter(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_V134_LayerTree_LayerTreeAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Session*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Session"> |
| Session |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L37"><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_V134_LayerTree_LayerTreeAdapter_CompositingReasons_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.CompositingReasons*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_CompositingReasons_OpenQA_Selenium_DevTools_V134_LayerTree_CompositingReasonsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.CompositingReasons(OpenQA.Selenium.DevTools.V134.LayerTree.CompositingReasonsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| CompositingReasons(CompositingReasonsCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L54"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>compositingReasons</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<CompositingReasonsCommandResponse> CompositingReasons(CompositingReasonsCommandSettings 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.V134.LayerTree.CompositingReasonsCommandSettings.html">CompositingReasonsCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.CompositingReasonsCommandResponse.html">CompositingReasonsCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Disable*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_Disable_OpenQA_Selenium_DevTools_V134_LayerTree_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Disable(OpenQA.Selenium.DevTools.V134.LayerTree.DisableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| Disable(DisableCommandSettings?, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L62"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>disable</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<DisableCommandResponse?> 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.V134.LayerTree.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><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.DisableCommandResponse.html">DisableCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Enable*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_Enable_OpenQA_Selenium_DevTools_V134_LayerTree_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.Enable(OpenQA.Selenium.DevTools.V134.LayerTree.EnableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| Enable(EnableCommandSettings?, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L70"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>enable</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<EnableCommandResponse?> 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.V134.LayerTree.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><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.EnableCommandResponse.html">EnableCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_LoadSnapshot_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.LoadSnapshot*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_LoadSnapshot_OpenQA_Selenium_DevTools_V134_LayerTree_LoadSnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.LoadSnapshot(OpenQA.Selenium.DevTools.V134.LayerTree.LoadSnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| LoadSnapshot(LoadSnapshotCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L78"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>loadSnapshot</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<LoadSnapshotCommandResponse> LoadSnapshot(LoadSnapshotCommandSettings 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.V134.LayerTree.LoadSnapshotCommandSettings.html">LoadSnapshotCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.LoadSnapshotCommandResponse.html">LoadSnapshotCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_MakeSnapshot_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.MakeSnapshot*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_MakeSnapshot_OpenQA_Selenium_DevTools_V134_LayerTree_MakeSnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.MakeSnapshot(OpenQA.Selenium.DevTools.V134.LayerTree.MakeSnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| MakeSnapshot(MakeSnapshotCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L86"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>makeSnapshot</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<MakeSnapshotCommandResponse> MakeSnapshot(MakeSnapshotCommandSettings 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.V134.LayerTree.MakeSnapshotCommandSettings.html">MakeSnapshotCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.MakeSnapshotCommandResponse.html">MakeSnapshotCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ProfileSnapshot_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ProfileSnapshot*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ProfileSnapshot_OpenQA_Selenium_DevTools_V134_LayerTree_ProfileSnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ProfileSnapshot(OpenQA.Selenium.DevTools.V134.LayerTree.ProfileSnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ProfileSnapshot(ProfileSnapshotCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L94"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>profileSnapshot</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ProfileSnapshotCommandResponse> ProfileSnapshot(ProfileSnapshotCommandSettings 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.V134.LayerTree.ProfileSnapshotCommandSettings.html">ProfileSnapshotCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.ProfileSnapshotCommandResponse.html">ProfileSnapshotCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ReleaseSnapshot_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ReleaseSnapshot*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ReleaseSnapshot_OpenQA_Selenium_DevTools_V134_LayerTree_ReleaseSnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ReleaseSnapshot(OpenQA.Selenium.DevTools.V134.LayerTree.ReleaseSnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ReleaseSnapshot(ReleaseSnapshotCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L102"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>releaseSnapshot</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ReleaseSnapshotCommandResponse?> ReleaseSnapshot(ReleaseSnapshotCommandSettings 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.V134.LayerTree.ReleaseSnapshotCommandSettings.html">ReleaseSnapshotCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.ReleaseSnapshotCommandResponse.html">ReleaseSnapshotCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ReplaySnapshot_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ReplaySnapshot*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_ReplaySnapshot_OpenQA_Selenium_DevTools_V134_LayerTree_ReplaySnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.ReplaySnapshot(OpenQA.Selenium.DevTools.V134.LayerTree.ReplaySnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| ReplaySnapshot(ReplaySnapshotCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L110"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>replaySnapshot</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<ReplaySnapshotCommandResponse> ReplaySnapshot(ReplaySnapshotCommandSettings 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.V134.LayerTree.ReplaySnapshotCommandSettings.html">ReplaySnapshotCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.ReplaySnapshotCommandResponse.html">ReplaySnapshotCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_SnapshotCommandLog_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.SnapshotCommandLog*"></a> |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_SnapshotCommandLog_OpenQA_Selenium_DevTools_V134_LayerTree_SnapshotCommandLogCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.SnapshotCommandLog(OpenQA.Selenium.DevTools.V134.LayerTree.SnapshotCommandLogCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)"> |
| SnapshotCommandLog(SnapshotCommandLogCommandSettings, CancellationToken, int?, bool) |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L118"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>snapshotCommandLog</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public Task<SnapshotCommandLogCommandResponse> SnapshotCommandLog(SnapshotCommandLogCommandSettings 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.V134.LayerTree.SnapshotCommandLogCommandSettings.html">SnapshotCommandLogCommandSettings</a></dt> |
| <dd></dd> |
| <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt> |
| <dd></dd> |
| <dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt> |
| <dd></dd> |
| <dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt> |
| <dd></dd> |
| </dl> |
| |
| <h4 class="section">Returns</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.SnapshotCommandLogCommandResponse.html">SnapshotCommandLogCommandResponse</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <h2 class="section" id="events">Events |
| </h2> |
| |
| |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_LayerPainted" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.LayerPainted"> |
| LayerPainted |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L42"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>layerPainted</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public event EventHandler<LayerPaintedEventArgs>? LayerPainted</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| |
| <h4 class="section">Event Type</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.LayerPaintedEventArgs.html">LayerPaintedEventArgs</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <h3 id="OpenQA_Selenium_DevTools_V134_LayerTree_LayerTreeAdapter_LayerTreeDidChange" data-uid="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeAdapter.LayerTreeDidChange"> |
| LayerTreeDidChange |
| <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.cs/#L47"><i class="bi bi-code-slash"></i></a> |
| </h3> |
| |
| <div class="markdown level1 summary"><p>layerTreeDidChange</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public event EventHandler<LayerTreeDidChangeEventArgs>? LayerTreeDidChange</code></pre> |
| </div> |
| |
| |
| |
| |
| |
| |
| <h4 class="section">Event Type</h4> |
| <dl class="parameters"> |
| <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a><<a class="xref" href="OpenQA.Selenium.DevTools.V134.LayerTree.LayerTreeDidChangeEventArgs.html">LayerTreeDidChangeEventArgs</a>></dt> |
| <dd></dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| </article> |
| |
| <div class="contribution d-print-none"> |
| <a href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v134/LayerTree/LayerTreeAdapter.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> |