blob: 1357914d4f75f405ab3ad87501a229cf4d2025e0 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class PageAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class PageAdapter ">
<meta name="description" content="Represents an adapter for the Page 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_V143_Page_PageAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V143.Page.PageAdapter%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.V143.Page.PageAdapter">
<h1 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter" class="text-break">
Class PageAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.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.V143.html">V143</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.html">Page</a></dd></dl>
<dl><dt>Assembly</dt><dd>WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the Page domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class PageAdapter</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">PageAdapter</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_V143_Page_PageAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
PageAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the PageAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public PageAdapter(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_V143_Page_PageAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.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/v143/Page/PageAdapter.cs/#L63"><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_V143_Page_PageAdapter_AddCompilationCache_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddCompilationCache*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_AddCompilationCache_OpenQA_Selenium_DevTools_V143_Page_AddCompilationCacheCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddCompilationCache(OpenQA.Selenium.DevTools.V143.Page.AddCompilationCacheCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AddCompilationCache(AddCompilationCacheCommandSettings, 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/v143/Page/PageAdapter.cs/#L660"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Seeds compilation cache for given url. Compilation cache does not survive
cross-process navigation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AddCompilationCacheCommandResponse?&gt; AddCompilationCache(AddCompilationCacheCommandSettings 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.V143.Page.AddCompilationCacheCommandSettings.html">AddCompilationCacheCommandSettings</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.V143.Page.AddCompilationCacheCommandResponse.html">AddCompilationCacheCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_AddScriptToEvaluateOnLoad_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddScriptToEvaluateOnLoad*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_AddScriptToEvaluateOnLoad_OpenQA_Selenium_DevTools_V143_Page_AddScriptToEvaluateOnLoadCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddScriptToEvaluateOnLoad(OpenQA.Selenium.DevTools.V143.Page.AddScriptToEvaluateOnLoadCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings, 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/v143/Page/PageAdapter.cs/#L227"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Deprecated, please use addScriptToEvaluateOnNewDocument instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AddScriptToEvaluateOnLoadCommandResponse&gt; AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings 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.V143.Page.AddScriptToEvaluateOnLoadCommandSettings.html">AddScriptToEvaluateOnLoadCommandSettings</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.V143.Page.AddScriptToEvaluateOnLoadCommandResponse.html">AddScriptToEvaluateOnLoadCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_AddScriptToEvaluateOnNewDocument_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddScriptToEvaluateOnNewDocument*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_AddScriptToEvaluateOnNewDocument_OpenQA_Selenium_DevTools_V143_Page_AddScriptToEvaluateOnNewDocumentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.AddScriptToEvaluateOnNewDocument(OpenQA.Selenium.DevTools.V143.Page.AddScriptToEvaluateOnNewDocumentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings, 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/v143/Page/PageAdapter.cs/#L235"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Evaluates given script in every frame upon creation (before loading frame's scripts).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;AddScriptToEvaluateOnNewDocumentCommandResponse&gt; AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings 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.V143.Page.AddScriptToEvaluateOnNewDocumentCommandSettings.html">AddScriptToEvaluateOnNewDocumentCommandSettings</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.V143.Page.AddScriptToEvaluateOnNewDocumentCommandResponse.html">AddScriptToEvaluateOnNewDocumentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_BringToFront_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.BringToFront*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_BringToFront_OpenQA_Selenium_DevTools_V143_Page_BringToFrontCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.BringToFront(OpenQA.Selenium.DevTools.V143.Page.BringToFrontCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
BringToFront(BringToFrontCommandSettings?, 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/v143/Page/PageAdapter.cs/#L243"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Brings page to front (activates tab).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;BringToFrontCommandResponse?&gt; BringToFront(BringToFrontCommandSettings? 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.V143.Page.BringToFrontCommandSettings.html">BringToFrontCommandSettings</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.V143.Page.BringToFrontCommandResponse.html">BringToFrontCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CaptureScreenshot_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CaptureScreenshot*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CaptureScreenshot_OpenQA_Selenium_DevTools_V143_Page_CaptureScreenshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CaptureScreenshot(OpenQA.Selenium.DevTools.V143.Page.CaptureScreenshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CaptureScreenshot(CaptureScreenshotCommandSettings, 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/v143/Page/PageAdapter.cs/#L251"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Capture page screenshot.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CaptureScreenshotCommandResponse&gt; CaptureScreenshot(CaptureScreenshotCommandSettings 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.V143.Page.CaptureScreenshotCommandSettings.html">CaptureScreenshotCommandSettings</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.V143.Page.CaptureScreenshotCommandResponse.html">CaptureScreenshotCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CaptureSnapshot_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CaptureSnapshot*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CaptureSnapshot_OpenQA_Selenium_DevTools_V143_Page_CaptureSnapshotCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CaptureSnapshot(OpenQA.Selenium.DevTools.V143.Page.CaptureSnapshotCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CaptureSnapshot(CaptureSnapshotCommandSettings, 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/v143/Page/PageAdapter.cs/#L260"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns a snapshot of the page as a string. For MHTML format, the serialization includes
iframes, shadow DOM, external resources, and element-inline styles.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CaptureSnapshotCommandResponse&gt; CaptureSnapshot(CaptureSnapshotCommandSettings 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.V143.Page.CaptureSnapshotCommandSettings.html">CaptureSnapshotCommandSettings</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.V143.Page.CaptureSnapshotCommandResponse.html">CaptureSnapshotCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearCompilationCache_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearCompilationCache*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearCompilationCache_OpenQA_Selenium_DevTools_V143_Page_ClearCompilationCacheCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearCompilationCache(OpenQA.Selenium.DevTools.V143.Page.ClearCompilationCacheCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ClearCompilationCache(ClearCompilationCacheCommandSettings?, 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/v143/Page/PageAdapter.cs/#L668"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Clears seeded compilation cache.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ClearCompilationCacheCommandResponse?&gt; ClearCompilationCache(ClearCompilationCacheCommandSettings? 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.V143.Page.ClearCompilationCacheCommandSettings.html">ClearCompilationCacheCommandSettings</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.V143.Page.ClearCompilationCacheCommandResponse.html">ClearCompilationCacheCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearDeviceMetricsOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearDeviceMetricsOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearDeviceMetricsOverride_OpenQA_Selenium_DevTools_V143_Page_ClearDeviceMetricsOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearDeviceMetricsOverride(OpenQA.Selenium.DevTools.V143.Page.ClearDeviceMetricsOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L268"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Clears the overridden device metrics.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ClearDeviceMetricsOverrideCommandResponse?&gt; ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.ClearDeviceMetricsOverrideCommandSettings.html">ClearDeviceMetricsOverrideCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.ClearDeviceMetricsOverrideCommandResponse.html">ClearDeviceMetricsOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearDeviceOrientationOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearDeviceOrientationOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearDeviceOrientationOverride_OpenQA_Selenium_DevTools_V143_Page_ClearDeviceOrientationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearDeviceOrientationOverride(OpenQA.Selenium.DevTools.V143.Page.ClearDeviceOrientationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings?, 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/v143/Page/PageAdapter.cs/#L276"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Clears the overridden Device Orientation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ClearDeviceOrientationOverrideCommandResponse?&gt; ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings? 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.V143.Page.ClearDeviceOrientationOverrideCommandSettings.html">ClearDeviceOrientationOverrideCommandSettings</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.V143.Page.ClearDeviceOrientationOverrideCommandResponse.html">ClearDeviceOrientationOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearGeolocationOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearGeolocationOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ClearGeolocationOverride_OpenQA_Selenium_DevTools_V143_Page_ClearGeolocationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ClearGeolocationOverride(OpenQA.Selenium.DevTools.V143.Page.ClearGeolocationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L284"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Clears the overridden Geolocation Position and Error.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ClearGeolocationOverrideCommandResponse?&gt; ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.ClearGeolocationOverrideCommandSettings.html">ClearGeolocationOverrideCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.ClearGeolocationOverrideCommandResponse.html">ClearGeolocationOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Close_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Close*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Close_OpenQA_Selenium_DevTools_V143_Page_CloseCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Close(OpenQA.Selenium.DevTools.V143.Page.CloseCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Close(CloseCommandSettings?, 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/v143/Page/PageAdapter.cs/#L620"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Tries to close page, running its beforeunload hooks, if any.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CloseCommandResponse?&gt; Close(CloseCommandSettings? 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.V143.Page.CloseCommandSettings.html">CloseCommandSettings</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.V143.Page.CloseCommandResponse.html">CloseCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Crash_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Crash*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Crash_OpenQA_Selenium_DevTools_V143_Page_CrashCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Crash(OpenQA.Selenium.DevTools.V143.Page.CrashCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Crash(CrashCommandSettings?, 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/v143/Page/PageAdapter.cs/#L612"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Crashes renderer on the IO thread, generates minidumps.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CrashCommandResponse?&gt; Crash(CrashCommandSettings? 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.V143.Page.CrashCommandSettings.html">CrashCommandSettings</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.V143.Page.CrashCommandResponse.html">CrashCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CreateIsolatedWorld_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CreateIsolatedWorld*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CreateIsolatedWorld_OpenQA_Selenium_DevTools_V143_Page_CreateIsolatedWorldCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CreateIsolatedWorld(OpenQA.Selenium.DevTools.V143.Page.CreateIsolatedWorldCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
CreateIsolatedWorld(CreateIsolatedWorldCommandSettings, 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/v143/Page/PageAdapter.cs/#L292"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Creates an isolated world for the given frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;CreateIsolatedWorldCommandResponse&gt; CreateIsolatedWorld(CreateIsolatedWorldCommandSettings 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.V143.Page.CreateIsolatedWorldCommandSettings.html">CreateIsolatedWorldCommandSettings</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.V143.Page.CreateIsolatedWorldCommandResponse.html">CreateIsolatedWorldCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DeleteCookie_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DeleteCookie*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DeleteCookie_OpenQA_Selenium_DevTools_V143_Page_DeleteCookieCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DeleteCookie(OpenQA.Selenium.DevTools.V143.Page.DeleteCookieCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
DeleteCookie(DeleteCookieCommandSettings, 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/v143/Page/PageAdapter.cs/#L300"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Deletes browser cookie with given name, domain and path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DeleteCookieCommandResponse?&gt; DeleteCookie(DeleteCookieCommandSettings 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.V143.Page.DeleteCookieCommandSettings.html">DeleteCookieCommandSettings</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.V143.Page.DeleteCookieCommandResponse.html">DeleteCookieCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Disable_OpenQA_Selenium_DevTools_V143_Page_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Disable(OpenQA.Selenium.DevTools.V143.Page.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/v143/Page/PageAdapter.cs/#L308"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Disables page domain notifications.</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.V143.Page.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.V143.Page.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Enable_OpenQA_Selenium_DevTools_V143_Page_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Enable(OpenQA.Selenium.DevTools.V143.Page.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/v143/Page/PageAdapter.cs/#L316"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables page domain notifications.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EnableCommandResponse?&gt; Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.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.V143.Page.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GenerateTestReport_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GenerateTestReport*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GenerateTestReport_OpenQA_Selenium_DevTools_V143_Page_GenerateTestReportCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GenerateTestReport(OpenQA.Selenium.DevTools.V143.Page.GenerateTestReportCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GenerateTestReport(GenerateTestReportCommandSettings, 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/v143/Page/PageAdapter.cs/#L694"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Generates a report for testing.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GenerateTestReportCommandResponse?&gt; GenerateTestReport(GenerateTestReportCommandSettings 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.V143.Page.GenerateTestReportCommandSettings.html">GenerateTestReportCommandSettings</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.V143.Page.GenerateTestReportCommandResponse.html">GenerateTestReportCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAdScriptAncestry_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAdScriptAncestry*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAdScriptAncestry_OpenQA_Selenium_DevTools_V143_Page_GetAdScriptAncestryCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAdScriptAncestry(OpenQA.Selenium.DevTools.V143.Page.GetAdScriptAncestryCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAdScriptAncestry(GetAdScriptAncestryCommandSettings, 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/v143/Page/PageAdapter.cs/#L361"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getAdScriptAncestry</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAdScriptAncestryCommandResponse&gt; GetAdScriptAncestry(GetAdScriptAncestryCommandSettings 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.V143.Page.GetAdScriptAncestryCommandSettings.html">GetAdScriptAncestryCommandSettings</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.V143.Page.GetAdScriptAncestryCommandResponse.html">GetAdScriptAncestryCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAppId_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAppId*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAppId_OpenQA_Selenium_DevTools_V143_Page_GetAppIdCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAppId(OpenQA.Selenium.DevTools.V143.Page.GetAppIdCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAppId(GetAppIdCommandSettings?, 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/v143/Page/PageAdapter.cs/#L353"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns the unique (PWA) app id.
Only returns values if the feature flag 'WebAppEnableManifestId' is enabled</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAppIdCommandResponse&gt; GetAppId(GetAppIdCommandSettings? 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.V143.Page.GetAppIdCommandSettings.html">GetAppIdCommandSettings</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.V143.Page.GetAppIdCommandResponse.html">GetAppIdCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAppManifest_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAppManifest*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetAppManifest_OpenQA_Selenium_DevTools_V143_Page_GetAppManifestCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetAppManifest(OpenQA.Selenium.DevTools.V143.Page.GetAppManifestCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetAppManifest(GetAppManifestCommandSettings, 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/v143/Page/PageAdapter.cs/#L328"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Gets the processed manifest for this current document.
This API always waits for the manifest to be loaded.
If manifestId is provided, and it does not match the manifest of the
current document, this API errors out.
If there is not a loaded page, this API errors out immediately.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetAppManifestCommandResponse&gt; GetAppManifest(GetAppManifestCommandSettings 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.V143.Page.GetAppManifestCommandSettings.html">GetAppManifestCommandSettings</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.V143.Page.GetAppManifestCommandResponse.html">GetAppManifestCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetFrameTree_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetFrameTree*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetFrameTree_OpenQA_Selenium_DevTools_V143_Page_GetFrameTreeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetFrameTree(OpenQA.Selenium.DevTools.V143.Page.GetFrameTreeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetFrameTree(GetFrameTreeCommandSettings?, 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/v143/Page/PageAdapter.cs/#L369"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns present frame tree structure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetFrameTreeCommandResponse&gt; GetFrameTree(GetFrameTreeCommandSettings? 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.V143.Page.GetFrameTreeCommandSettings.html">GetFrameTreeCommandSettings</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.V143.Page.GetFrameTreeCommandResponse.html">GetFrameTreeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetInstallabilityErrors_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetInstallabilityErrors*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetInstallabilityErrors_OpenQA_Selenium_DevTools_V143_Page_GetInstallabilityErrorsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetInstallabilityErrors(OpenQA.Selenium.DevTools.V143.Page.GetInstallabilityErrorsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings?, 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/v143/Page/PageAdapter.cs/#L336"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>getInstallabilityErrors</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetInstallabilityErrorsCommandResponse&gt; GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings? 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.V143.Page.GetInstallabilityErrorsCommandSettings.html">GetInstallabilityErrorsCommandSettings</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.V143.Page.GetInstallabilityErrorsCommandResponse.html">GetInstallabilityErrorsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetLayoutMetrics_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetLayoutMetrics*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetLayoutMetrics_OpenQA_Selenium_DevTools_V143_Page_GetLayoutMetricsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetLayoutMetrics(OpenQA.Selenium.DevTools.V143.Page.GetLayoutMetricsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetLayoutMetrics(GetLayoutMetricsCommandSettings?, 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/v143/Page/PageAdapter.cs/#L377"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns metrics relating to the layouting of the page, such as viewport bounds/scale.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetLayoutMetricsCommandResponse&gt; GetLayoutMetrics(GetLayoutMetricsCommandSettings? 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.V143.Page.GetLayoutMetricsCommandSettings.html">GetLayoutMetricsCommandSettings</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.V143.Page.GetLayoutMetricsCommandResponse.html">GetLayoutMetricsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetManifestIcons_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetManifestIcons*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetManifestIcons_OpenQA_Selenium_DevTools_V143_Page_GetManifestIconsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetManifestIcons(OpenQA.Selenium.DevTools.V143.Page.GetManifestIconsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetManifestIcons(GetManifestIconsCommandSettings?, 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/v143/Page/PageAdapter.cs/#L344"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetManifestIconsCommandResponse&gt; GetManifestIcons(GetManifestIconsCommandSettings? 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.V143.Page.GetManifestIconsCommandSettings.html">GetManifestIconsCommandSettings</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.V143.Page.GetManifestIconsCommandResponse.html">GetManifestIconsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetNavigationHistory_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetNavigationHistory*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetNavigationHistory_OpenQA_Selenium_DevTools_V143_Page_GetNavigationHistoryCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetNavigationHistory(OpenQA.Selenium.DevTools.V143.Page.GetNavigationHistoryCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetNavigationHistory(GetNavigationHistoryCommandSettings?, 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/v143/Page/PageAdapter.cs/#L385"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns navigation history for the current page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetNavigationHistoryCommandResponse&gt; GetNavigationHistory(GetNavigationHistoryCommandSettings? 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.V143.Page.GetNavigationHistoryCommandSettings.html">GetNavigationHistoryCommandSettings</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.V143.Page.GetNavigationHistoryCommandResponse.html">GetNavigationHistoryCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetOriginTrials_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetOriginTrials*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetOriginTrials_OpenQA_Selenium_DevTools_V143_Page_GetOriginTrialsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetOriginTrials(OpenQA.Selenium.DevTools.V143.Page.GetOriginTrialsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetOriginTrials(GetOriginTrialsCommandSettings, 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/v143/Page/PageAdapter.cs/#L513"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Get Origin Trials on given frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetOriginTrialsCommandResponse&gt; GetOriginTrials(GetOriginTrialsCommandSettings 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.V143.Page.GetOriginTrialsCommandSettings.html">GetOriginTrialsCommandSettings</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.V143.Page.GetOriginTrialsCommandResponse.html">GetOriginTrialsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetPermissionsPolicyState_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetPermissionsPolicyState*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetPermissionsPolicyState_OpenQA_Selenium_DevTools_V143_Page_GetPermissionsPolicyStateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetPermissionsPolicyState(OpenQA.Selenium.DevTools.V143.Page.GetPermissionsPolicyStateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetPermissionsPolicyState(GetPermissionsPolicyStateCommandSettings, 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/v143/Page/PageAdapter.cs/#L505"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Get Permissions Policy state on given frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetPermissionsPolicyStateCommandResponse&gt; GetPermissionsPolicyState(GetPermissionsPolicyStateCommandSettings 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.V143.Page.GetPermissionsPolicyStateCommandSettings.html">GetPermissionsPolicyStateCommandSettings</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.V143.Page.GetPermissionsPolicyStateCommandResponse.html">GetPermissionsPolicyStateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetResourceContent_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetResourceContent*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetResourceContent_OpenQA_Selenium_DevTools_V143_Page_GetResourceContentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetResourceContent(OpenQA.Selenium.DevTools.V143.Page.GetResourceContentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetResourceContent(GetResourceContentCommandSettings, 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/v143/Page/PageAdapter.cs/#L401"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns content of the given resource.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetResourceContentCommandResponse&gt; GetResourceContent(GetResourceContentCommandSettings 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.V143.Page.GetResourceContentCommandSettings.html">GetResourceContentCommandSettings</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.V143.Page.GetResourceContentCommandResponse.html">GetResourceContentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetResourceTree_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetResourceTree*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_GetResourceTree_OpenQA_Selenium_DevTools_V143_Page_GetResourceTreeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.GetResourceTree(OpenQA.Selenium.DevTools.V143.Page.GetResourceTreeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetResourceTree(GetResourceTreeCommandSettings?, 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/v143/Page/PageAdapter.cs/#L409"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns present frame / resource tree structure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetResourceTreeCommandResponse&gt; GetResourceTree(GetResourceTreeCommandSettings? 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.V143.Page.GetResourceTreeCommandSettings.html">GetResourceTreeCommandSettings</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.V143.Page.GetResourceTreeCommandResponse.html">GetResourceTreeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_HandleJavaScriptDialog_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.HandleJavaScriptDialog*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_HandleJavaScriptDialog_OpenQA_Selenium_DevTools_V143_Page_HandleJavaScriptDialogCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.HandleJavaScriptDialog(OpenQA.Selenium.DevTools.V143.Page.HandleJavaScriptDialogCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings, 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/v143/Page/PageAdapter.cs/#L417"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;HandleJavaScriptDialogCommandResponse?&gt; HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings 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.V143.Page.HandleJavaScriptDialogCommandSettings.html">HandleJavaScriptDialogCommandSettings</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.V143.Page.HandleJavaScriptDialogCommandResponse.html">HandleJavaScriptDialogCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Navigate_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Navigate*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Navigate_OpenQA_Selenium_DevTools_V143_Page_NavigateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Navigate(OpenQA.Selenium.DevTools.V143.Page.NavigateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Navigate(NavigateCommandSettings, 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/v143/Page/PageAdapter.cs/#L425"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Navigates current page to the given URL.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;NavigateCommandResponse&gt; Navigate(NavigateCommandSettings 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.V143.Page.NavigateCommandSettings.html">NavigateCommandSettings</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.V143.Page.NavigateCommandResponse.html">NavigateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_NavigateToHistoryEntry_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.NavigateToHistoryEntry*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_NavigateToHistoryEntry_OpenQA_Selenium_DevTools_V143_Page_NavigateToHistoryEntryCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.NavigateToHistoryEntry(OpenQA.Selenium.DevTools.V143.Page.NavigateToHistoryEntryCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings, 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/v143/Page/PageAdapter.cs/#L433"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Navigates current page to the given history entry.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;NavigateToHistoryEntryCommandResponse?&gt; NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings 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.V143.Page.NavigateToHistoryEntryCommandSettings.html">NavigateToHistoryEntryCommandSettings</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.V143.Page.NavigateToHistoryEntryCommandResponse.html">NavigateToHistoryEntryCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_PrintToPDF_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.PrintToPDF*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_PrintToPDF_OpenQA_Selenium_DevTools_V143_Page_PrintToPDFCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.PrintToPDF(OpenQA.Selenium.DevTools.V143.Page.PrintToPDFCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
PrintToPDF(PrintToPDFCommandSettings, 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/v143/Page/PageAdapter.cs/#L441"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Print page as PDF.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PrintToPDFCommandResponse&gt; PrintToPDF(PrintToPDFCommandSettings 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.V143.Page.PrintToPDFCommandSettings.html">PrintToPDFCommandSettings</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.V143.Page.PrintToPDFCommandResponse.html">PrintToPDFCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ProduceCompilationCache_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ProduceCompilationCache*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ProduceCompilationCache_OpenQA_Selenium_DevTools_V143_Page_ProduceCompilationCacheCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ProduceCompilationCache(OpenQA.Selenium.DevTools.V143.Page.ProduceCompilationCacheCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ProduceCompilationCache(ProduceCompilationCacheCommandSettings, 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/v143/Page/PageAdapter.cs/#L651"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Requests backend to produce compilation cache for the specified scripts.
<code>scripts</code> are appended to the list of scripts for which the cache
would be produced. The list may be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: <code>Page.compilationCacheProduced</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ProduceCompilationCacheCommandResponse?&gt; ProduceCompilationCache(ProduceCompilationCacheCommandSettings 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.V143.Page.ProduceCompilationCacheCommandSettings.html">ProduceCompilationCacheCommandSettings</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.V143.Page.ProduceCompilationCacheCommandResponse.html">ProduceCompilationCacheCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Reload_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Reload*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_Reload_OpenQA_Selenium_DevTools_V143_Page_ReloadCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.Reload(OpenQA.Selenium.DevTools.V143.Page.ReloadCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Reload(ReloadCommandSettings, 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/v143/Page/PageAdapter.cs/#L449"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Reloads given page optionally ignoring the cache.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ReloadCommandResponse?&gt; Reload(ReloadCommandSettings 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.V143.Page.ReloadCommandSettings.html">ReloadCommandSettings</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.V143.Page.ReloadCommandResponse.html">ReloadCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_RemoveScriptToEvaluateOnLoad_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.RemoveScriptToEvaluateOnLoad*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_RemoveScriptToEvaluateOnLoad_OpenQA_Selenium_DevTools_V143_Page_RemoveScriptToEvaluateOnLoadCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.RemoveScriptToEvaluateOnLoad(OpenQA.Selenium.DevTools.V143.Page.RemoveScriptToEvaluateOnLoadCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings, 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/v143/Page/PageAdapter.cs/#L457"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Deprecated, please use removeScriptToEvaluateOnNewDocument instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveScriptToEvaluateOnLoadCommandResponse?&gt; RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings 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.V143.Page.RemoveScriptToEvaluateOnLoadCommandSettings.html">RemoveScriptToEvaluateOnLoadCommandSettings</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.V143.Page.RemoveScriptToEvaluateOnLoadCommandResponse.html">RemoveScriptToEvaluateOnLoadCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_RemoveScriptToEvaluateOnNewDocument_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.RemoveScriptToEvaluateOnNewDocument*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_RemoveScriptToEvaluateOnNewDocument_OpenQA_Selenium_DevTools_V143_Page_RemoveScriptToEvaluateOnNewDocumentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.RemoveScriptToEvaluateOnNewDocument(OpenQA.Selenium.DevTools.V143.Page.RemoveScriptToEvaluateOnNewDocumentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings, 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/v143/Page/PageAdapter.cs/#L465"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Removes given script from the list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveScriptToEvaluateOnNewDocumentCommandResponse?&gt; RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings 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.V143.Page.RemoveScriptToEvaluateOnNewDocumentCommandSettings.html">RemoveScriptToEvaluateOnNewDocumentCommandSettings</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.V143.Page.RemoveScriptToEvaluateOnNewDocumentCommandResponse.html">RemoveScriptToEvaluateOnNewDocumentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ResetNavigationHistory_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ResetNavigationHistory*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ResetNavigationHistory_OpenQA_Selenium_DevTools_V143_Page_ResetNavigationHistoryCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ResetNavigationHistory(OpenQA.Selenium.DevTools.V143.Page.ResetNavigationHistoryCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ResetNavigationHistory(ResetNavigationHistoryCommandSettings?, 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/v143/Page/PageAdapter.cs/#L393"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Resets navigation history for the current page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ResetNavigationHistoryCommandResponse?&gt; ResetNavigationHistory(ResetNavigationHistoryCommandSettings? 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.V143.Page.ResetNavigationHistoryCommandSettings.html">ResetNavigationHistoryCommandSettings</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.V143.Page.ResetNavigationHistoryCommandResponse.html">ResetNavigationHistoryCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ScreencastFrameAck_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ScreencastFrameAck*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ScreencastFrameAck_OpenQA_Selenium_DevTools_V143_Page_ScreencastFrameAckCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ScreencastFrameAck(OpenQA.Selenium.DevTools.V143.Page.ScreencastFrameAckCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ScreencastFrameAck(ScreencastFrameAckCommandSettings, 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/v143/Page/PageAdapter.cs/#L473"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Acknowledges that a screencast frame has been received by the frontend.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ScreencastFrameAckCommandResponse?&gt; ScreencastFrameAck(ScreencastFrameAckCommandSettings 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.V143.Page.ScreencastFrameAckCommandSettings.html">ScreencastFrameAckCommandSettings</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.V143.Page.ScreencastFrameAckCommandResponse.html">ScreencastFrameAckCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SearchInResource_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SearchInResource*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SearchInResource_OpenQA_Selenium_DevTools_V143_Page_SearchInResourceCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SearchInResource(OpenQA.Selenium.DevTools.V143.Page.SearchInResourceCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SearchInResource(SearchInResourceCommandSettings, 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/v143/Page/PageAdapter.cs/#L481"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Searches for given string in resource content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SearchInResourceCommandResponse&gt; SearchInResource(SearchInResourceCommandSettings 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.V143.Page.SearchInResourceCommandSettings.html">SearchInResourceCommandSettings</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.V143.Page.SearchInResourceCommandResponse.html">SearchInResourceCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetAdBlockingEnabled_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetAdBlockingEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetAdBlockingEnabled_OpenQA_Selenium_DevTools_V143_Page_SetAdBlockingEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetAdBlockingEnabled(OpenQA.Selenium.DevTools.V143.Page.SetAdBlockingEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings, 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/v143/Page/PageAdapter.cs/#L489"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enable Chrome's experimental ad filter on all sites.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetAdBlockingEnabledCommandResponse?&gt; SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings 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.V143.Page.SetAdBlockingEnabledCommandSettings.html">SetAdBlockingEnabledCommandSettings</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.V143.Page.SetAdBlockingEnabledCommandResponse.html">SetAdBlockingEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetBypassCSP_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetBypassCSP*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetBypassCSP_OpenQA_Selenium_DevTools_V143_Page_SetBypassCSPCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetBypassCSP(OpenQA.Selenium.DevTools.V143.Page.SetBypassCSPCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBypassCSP(SetBypassCSPCommandSettings, 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/v143/Page/PageAdapter.cs/#L497"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enable page Content Security Policy by-passing.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBypassCSPCommandResponse?&gt; SetBypassCSP(SetBypassCSPCommandSettings 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.V143.Page.SetBypassCSPCommandSettings.html">SetBypassCSPCommandSettings</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.V143.Page.SetBypassCSPCommandResponse.html">SetBypassCSPCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDeviceMetricsOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDeviceMetricsOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDeviceMetricsOverride_OpenQA_Selenium_DevTools_V143_Page_SetDeviceMetricsOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDeviceMetricsOverride(OpenQA.Selenium.DevTools.V143.Page.SetDeviceMetricsOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L523"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and &quot;device-width&quot;/&quot;device-height&quot;-related CSS media
query results).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetDeviceMetricsOverrideCommandResponse?&gt; SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetDeviceMetricsOverrideCommandSettings.html">SetDeviceMetricsOverrideCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetDeviceMetricsOverrideCommandResponse.html">SetDeviceMetricsOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDeviceOrientationOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDeviceOrientationOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDeviceOrientationOverride_OpenQA_Selenium_DevTools_V143_Page_SetDeviceOrientationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDeviceOrientationOverride(OpenQA.Selenium.DevTools.V143.Page.SetDeviceOrientationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings, 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/v143/Page/PageAdapter.cs/#L531"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Overrides the Device Orientation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetDeviceOrientationOverrideCommandResponse?&gt; SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings 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.V143.Page.SetDeviceOrientationOverrideCommandSettings.html">SetDeviceOrientationOverrideCommandSettings</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.V143.Page.SetDeviceOrientationOverrideCommandResponse.html">SetDeviceOrientationOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDocumentContent_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDocumentContent*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDocumentContent_OpenQA_Selenium_DevTools_V143_Page_SetDocumentContentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDocumentContent(OpenQA.Selenium.DevTools.V143.Page.SetDocumentContentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetDocumentContent(SetDocumentContentCommandSettings, 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/v143/Page/PageAdapter.cs/#L555"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets given markup as the document's HTML.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetDocumentContentCommandResponse?&gt; SetDocumentContent(SetDocumentContentCommandSettings 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.V143.Page.SetDocumentContentCommandSettings.html">SetDocumentContentCommandSettings</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.V143.Page.SetDocumentContentCommandResponse.html">SetDocumentContentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDownloadBehavior_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDownloadBehavior*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetDownloadBehavior_OpenQA_Selenium_DevTools_V143_Page_SetDownloadBehaviorCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetDownloadBehavior(OpenQA.Selenium.DevTools.V143.Page.SetDownloadBehaviorCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetDownloadBehavior(SetDownloadBehaviorCommandSettings, 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/v143/Page/PageAdapter.cs/#L563"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Set the behavior when downloading a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetDownloadBehaviorCommandResponse?&gt; SetDownloadBehavior(SetDownloadBehaviorCommandSettings 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.V143.Page.SetDownloadBehaviorCommandSettings.html">SetDownloadBehaviorCommandSettings</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.V143.Page.SetDownloadBehaviorCommandResponse.html">SetDownloadBehaviorCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetFontFamilies_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetFontFamilies*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetFontFamilies_OpenQA_Selenium_DevTools_V143_Page_SetFontFamiliesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetFontFamilies(OpenQA.Selenium.DevTools.V143.Page.SetFontFamiliesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetFontFamilies(SetFontFamiliesCommandSettings, 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/v143/Page/PageAdapter.cs/#L539"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Set generic font families.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetFontFamiliesCommandResponse?&gt; SetFontFamilies(SetFontFamiliesCommandSettings 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.V143.Page.SetFontFamiliesCommandSettings.html">SetFontFamiliesCommandSettings</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.V143.Page.SetFontFamiliesCommandResponse.html">SetFontFamiliesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetFontSizes_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetFontSizes*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetFontSizes_OpenQA_Selenium_DevTools_V143_Page_SetFontSizesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetFontSizes(OpenQA.Selenium.DevTools.V143.Page.SetFontSizesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetFontSizes(SetFontSizesCommandSettings, 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/v143/Page/PageAdapter.cs/#L547"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Set default font sizes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetFontSizesCommandResponse?&gt; SetFontSizes(SetFontSizesCommandSettings 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.V143.Page.SetFontSizesCommandSettings.html">SetFontSizesCommandSettings</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.V143.Page.SetFontSizesCommandResponse.html">SetFontSizesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetGeolocationOverride_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetGeolocationOverride*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetGeolocationOverride_OpenQA_Selenium_DevTools_V143_Page_SetGeolocationOverrideCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetGeolocationOverride(OpenQA.Selenium.DevTools.V143.Page.SetGeolocationOverrideCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetGeolocationOverride(SetGeolocationOverrideCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L572"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
unavailable.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetGeolocationOverrideCommandResponse?&gt; SetGeolocationOverride(SetGeolocationOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetGeolocationOverrideCommandSettings.html">SetGeolocationOverrideCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetGeolocationOverrideCommandResponse.html">SetGeolocationOverrideCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetInterceptFileChooserDialog_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetInterceptFileChooserDialog*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetInterceptFileChooserDialog_OpenQA_Selenium_DevTools_V143_Page_SetInterceptFileChooserDialogCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetInterceptFileChooserDialog(OpenQA.Selenium.DevTools.V143.Page.SetInterceptFileChooserDialogCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings, 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/v143/Page/PageAdapter.cs/#L712"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Intercept file chooser requests and transfer control to protocol clients.
When file chooser interception is enabled, native file chooser dialog is not shown.
Instead, a protocol event <code>Page.fileChooserOpened</code> is emitted.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetInterceptFileChooserDialogCommandResponse?&gt; SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings 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.V143.Page.SetInterceptFileChooserDialogCommandSettings.html">SetInterceptFileChooserDialogCommandSettings</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.V143.Page.SetInterceptFileChooserDialogCommandResponse.html">SetInterceptFileChooserDialogCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetLifecycleEventsEnabled_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetLifecycleEventsEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetLifecycleEventsEnabled_OpenQA_Selenium_DevTools_V143_Page_SetLifecycleEventsEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetLifecycleEventsEnabled(OpenQA.Selenium.DevTools.V143.Page.SetLifecycleEventsEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings, 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/v143/Page/PageAdapter.cs/#L580"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Controls whether page will emit lifecycle events.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetLifecycleEventsEnabledCommandResponse?&gt; SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings 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.V143.Page.SetLifecycleEventsEnabledCommandSettings.html">SetLifecycleEventsEnabledCommandSettings</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.V143.Page.SetLifecycleEventsEnabledCommandResponse.html">SetLifecycleEventsEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetPrerenderingAllowed_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetPrerenderingAllowed*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetPrerenderingAllowed_OpenQA_Selenium_DevTools_V143_Page_SetPrerenderingAllowedCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetPrerenderingAllowed(OpenQA.Selenium.DevTools.V143.Page.SetPrerenderingAllowedCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetPrerenderingAllowed(SetPrerenderingAllowedCommandSettings, 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/v143/Page/PageAdapter.cs/#L726"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enable/disable prerendering manually.</p>
<p>This command is a short-term solution for <a href="https://crbug.com/1440085">https://crbug.com/1440085</a>.
See <a href="https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA">https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA</a>
for more details.</p>
<p>TODO(<a href="https://crbug.com/1440085">https://crbug.com/1440085</a>): Remove this once Puppeteer supports tab targets.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetPrerenderingAllowedCommandResponse?&gt; SetPrerenderingAllowed(SetPrerenderingAllowedCommandSettings 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.V143.Page.SetPrerenderingAllowedCommandSettings.html">SetPrerenderingAllowedCommandSettings</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.V143.Page.SetPrerenderingAllowedCommandResponse.html">SetPrerenderingAllowedCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetRPHRegistrationMode_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetRPHRegistrationMode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetRPHRegistrationMode_OpenQA_Selenium_DevTools_V143_Page_SetRPHRegistrationModeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetRPHRegistrationMode(OpenQA.Selenium.DevTools.V143.Page.SetRPHRegistrationModeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetRPHRegistrationMode(SetRPHRegistrationModeCommandSettings, 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/v143/Page/PageAdapter.cs/#L686"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Extensions for Custom Handlers API:
<a href="https://html.spec.whatwg.org/multipage/system-state.html#rph-automation">https://html.spec.whatwg.org/multipage/system-state.html#rph-automation</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetRPHRegistrationModeCommandResponse?&gt; SetRPHRegistrationMode(SetRPHRegistrationModeCommandSettings 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.V143.Page.SetRPHRegistrationModeCommandSettings.html">SetRPHRegistrationModeCommandSettings</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.V143.Page.SetRPHRegistrationModeCommandResponse.html">SetRPHRegistrationModeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetSPCTransactionMode_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetSPCTransactionMode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetSPCTransactionMode_OpenQA_Selenium_DevTools_V143_Page_SetSPCTransactionModeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetSPCTransactionMode(OpenQA.Selenium.DevTools.V143.Page.SetSPCTransactionModeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetSPCTransactionMode(SetSPCTransactionModeCommandSettings, 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/v143/Page/PageAdapter.cs/#L677"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets the Secure Payment Confirmation transaction mode.
<a href="https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode">https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetSPCTransactionModeCommandResponse?&gt; SetSPCTransactionMode(SetSPCTransactionModeCommandSettings 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.V143.Page.SetSPCTransactionModeCommandSettings.html">SetSPCTransactionModeCommandSettings</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.V143.Page.SetSPCTransactionModeCommandResponse.html">SetSPCTransactionModeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetTouchEmulationEnabled_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetTouchEmulationEnabled*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetTouchEmulationEnabled_OpenQA_Selenium_DevTools_V143_Page_SetTouchEmulationEnabledCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetTouchEmulationEnabled(OpenQA.Selenium.DevTools.V143.Page.SetTouchEmulationEnabledCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L588"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Toggles mouse event-based touch event emulation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetTouchEmulationEnabledCommandResponse?&gt; SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetTouchEmulationEnabledCommandSettings.html">SetTouchEmulationEnabledCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V143.Page.SetTouchEmulationEnabledCommandResponse.html">SetTouchEmulationEnabledCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetWebLifecycleState_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetWebLifecycleState*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_SetWebLifecycleState_OpenQA_Selenium_DevTools_V143_Page_SetWebLifecycleStateCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.SetWebLifecycleState(OpenQA.Selenium.DevTools.V143.Page.SetWebLifecycleStateCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetWebLifecycleState(SetWebLifecycleStateCommandSettings, 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/v143/Page/PageAdapter.cs/#L630"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Tries to update the web lifecycle state of the page.
It will transition the page to the given state according to:
<a href="https://github.com/WICG/web-lifecycle/">https://github.com/WICG/web-lifecycle/</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetWebLifecycleStateCommandResponse?&gt; SetWebLifecycleState(SetWebLifecycleStateCommandSettings 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.V143.Page.SetWebLifecycleStateCommandSettings.html">SetWebLifecycleStateCommandSettings</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.V143.Page.SetWebLifecycleStateCommandResponse.html">SetWebLifecycleStateCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StartScreencast_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StartScreencast*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StartScreencast_OpenQA_Selenium_DevTools_V143_Page_StartScreencastCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StartScreencast(OpenQA.Selenium.DevTools.V143.Page.StartScreencastCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StartScreencast(StartScreencastCommandSettings, 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/v143/Page/PageAdapter.cs/#L596"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Starts sending each frame using the <code>screencastFrame</code> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StartScreencastCommandResponse?&gt; StartScreencast(StartScreencastCommandSettings 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.V143.Page.StartScreencastCommandSettings.html">StartScreencastCommandSettings</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.V143.Page.StartScreencastCommandResponse.html">StartScreencastCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StopLoading_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StopLoading*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StopLoading_OpenQA_Selenium_DevTools_V143_Page_StopLoadingCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StopLoading(OpenQA.Selenium.DevTools.V143.Page.StopLoadingCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StopLoading(StopLoadingCommandSettings?, 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/v143/Page/PageAdapter.cs/#L604"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Force the page stop all navigations and pending resource fetches.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StopLoadingCommandResponse?&gt; StopLoading(StopLoadingCommandSettings? 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.V143.Page.StopLoadingCommandSettings.html">StopLoadingCommandSettings</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.V143.Page.StopLoadingCommandResponse.html">StopLoadingCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StopScreencast_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StopScreencast*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_StopScreencast_OpenQA_Selenium_DevTools_V143_Page_StopScreencastCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.StopScreencast(OpenQA.Selenium.DevTools.V143.Page.StopScreencastCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StopScreencast(StopScreencastCommandSettings?, 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/v143/Page/PageAdapter.cs/#L638"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Stops sending each frame in the <code>screencastFrame</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StopScreencastCommandResponse?&gt; StopScreencast(StopScreencastCommandSettings? 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.V143.Page.StopScreencastCommandSettings.html">StopScreencastCommandSettings</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.V143.Page.StopScreencastCommandResponse.html">StopScreencastCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_WaitForDebugger_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.WaitForDebugger*"></a>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_WaitForDebugger_OpenQA_Selenium_DevTools_V143_Page_WaitForDebuggerCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.WaitForDebugger(OpenQA.Selenium.DevTools.V143.Page.WaitForDebuggerCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
WaitForDebugger(WaitForDebuggerCommandSettings?, 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/v143/Page/PageAdapter.cs/#L702"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;WaitForDebuggerCommandResponse?&gt; WaitForDebugger(WaitForDebuggerCommandSettings? 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.V143.Page.WaitForDebuggerCommandSettings.html">WaitForDebuggerCommandSettings</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.V143.Page.WaitForDebuggerCommandResponse.html">WaitForDebuggerCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_BackForwardCacheNotUsed" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.BackForwardCacheNotUsed">
BackForwardCacheNotUsed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L189"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
not assume any ordering with the Page.frameNavigated event. This event is fired only for
main-frame history navigation where the document changes (non-same-document navigations),
when bfcache navigation fails.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;BackForwardCacheNotUsedEventArgs&gt;? BackForwardCacheNotUsed</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.V143.Page.BackForwardCacheNotUsedEventArgs.html">BackForwardCacheNotUsedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_CompilationCacheProduced" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.CompilationCacheProduced">
CompilationCacheProduced
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L220"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Issued for every compilation cache generated.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;CompilationCacheProducedEventArgs&gt;? CompilationCacheProduced</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.V143.Page.CompilationCacheProducedEventArgs.html">CompilationCacheProducedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DocumentOpened" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DocumentOpened">
DocumentOpened
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L104"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when opening document to write to.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DocumentOpenedEventArgs&gt;? DocumentOpened</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.V143.Page.DocumentOpenedEventArgs.html">DocumentOpenedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DomContentEventFired" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DomContentEventFired">
DomContentEventFired
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L68"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>domContentEventFired</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DomContentEventFiredEventArgs&gt;? DomContentEventFired</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.V143.Page.DomContentEventFiredEventArgs.html">DomContentEventFiredEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DownloadProgress" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DownloadProgress">
DownloadProgress
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L153"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when download makes progress. Last call has |done| == true.
Deprecated. Use Browser.downloadProgress instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DownloadProgressEventArgs&gt;? DownloadProgress</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.V143.Page.DownloadProgressEventArgs.html">DownloadProgressEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_DownloadWillBegin" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.DownloadWillBegin">
DownloadWillBegin
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L147"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when page is about to start a download.
Deprecated. Use Browser.downloadWillBegin instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;DownloadWillBeginEventArgs&gt;? DownloadWillBegin</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.V143.Page.DownloadWillBeginEventArgs.html">DownloadWillBeginEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FileChooserOpened" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FileChooserOpened">
FileChooserOpened
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L73"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Emitted only when <code>page.interceptFileChooser</code> is enabled.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FileChooserOpenedEventArgs&gt;? FileChooserOpened</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.V143.Page.FileChooserOpenedEventArgs.html">FileChooserOpenedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameAttached" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameAttached">
FrameAttached
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L78"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame has been attached to its parent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameAttachedEventArgs&gt;? FrameAttached</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.V143.Page.FrameAttachedEventArgs.html">FrameAttachedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameClearedScheduledNavigation" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameClearedScheduledNavigation">
FrameClearedScheduledNavigation
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L83"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame no longer has a scheduled navigation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameClearedScheduledNavigationEventArgs&gt;? FrameClearedScheduledNavigation</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.V143.Page.FrameClearedScheduledNavigationEventArgs.html">FrameClearedScheduledNavigationEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameDetached" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameDetached">
FrameDetached
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L88"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame has been detached from its parent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameDetachedEventArgs&gt;? FrameDetached</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.V143.Page.FrameDetachedEventArgs.html">FrameDetachedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameNavigated" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameNavigated">
FrameNavigated
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L99"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired once navigation of the frame has completed. Frame is now associated with the new loader.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameNavigatedEventArgs&gt;? FrameNavigated</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.V143.Page.FrameNavigatedEventArgs.html">FrameNavigatedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameRequestedNavigation" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameRequestedNavigation">
FrameRequestedNavigation
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L126"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a renderer-initiated navigation is requested.
Navigation may still be cancelled after the event is issued.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameRequestedNavigationEventArgs&gt;? FrameRequestedNavigation</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.V143.Page.FrameRequestedNavigationEventArgs.html">FrameRequestedNavigationEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameResized" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameResized">
FrameResized
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L109"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>frameResized</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameResizedEventArgs&gt;? FrameResized</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.V143.Page.FrameResizedEventArgs.html">FrameResizedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameScheduledNavigation" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameScheduledNavigation">
FrameScheduledNavigation
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L131"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame schedules a potential navigation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameScheduledNavigationEventArgs&gt;? FrameScheduledNavigation</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.V143.Page.FrameScheduledNavigationEventArgs.html">FrameScheduledNavigationEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameStartedLoading" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameStartedLoading">
FrameStartedLoading
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L136"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame has started loading.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameStartedLoadingEventArgs&gt;? FrameStartedLoading</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.V143.Page.FrameStartedLoadingEventArgs.html">FrameStartedLoadingEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameStartedNavigating" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameStartedNavigating">
FrameStartedNavigating
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L120"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a navigation starts. This event is fired for both
renderer-initiated and browser-initiated navigations. For renderer-initiated
navigations, the event is fired after <code>frameRequestedNavigation</code>.
Navigation may still be cancelled after the event is issued. Multiple events
can be fired for a single navigation, for example, when a same-document
navigation becomes a cross-document navigation (such as in the case of a
frameset).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameStartedNavigatingEventArgs&gt;? FrameStartedNavigating</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.V143.Page.FrameStartedNavigatingEventArgs.html">FrameStartedNavigatingEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameStoppedLoading" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameStoppedLoading">
FrameStoppedLoading
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L141"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when frame has stopped loading.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameStoppedLoadingEventArgs&gt;? FrameStoppedLoading</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.V143.Page.FrameStoppedLoadingEventArgs.html">FrameStoppedLoadingEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_FrameSubtreeWillBeDetached" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.FrameSubtreeWillBeDetached">
FrameSubtreeWillBeDetached
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L94"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired before frame subtree is detached. Emitted before any frame of the
subtree is actually detached.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;FrameSubtreeWillBeDetachedEventArgs&gt;? FrameSubtreeWillBeDetached</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.V143.Page.FrameSubtreeWillBeDetachedEventArgs.html">FrameSubtreeWillBeDetachedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_InterstitialHidden" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.InterstitialHidden">
InterstitialHidden
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L158"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when interstitial page was hidden</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;InterstitialHiddenEventArgs&gt;? InterstitialHidden</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.V143.Page.InterstitialHiddenEventArgs.html">InterstitialHiddenEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_InterstitialShown" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.InterstitialShown">
InterstitialShown
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L163"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when interstitial page was shown</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;InterstitialShownEventArgs&gt;? InterstitialShown</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.V143.Page.InterstitialShownEventArgs.html">InterstitialShownEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_JavascriptDialogClosed" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.JavascriptDialogClosed">
JavascriptDialogClosed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L169"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
closed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;JavascriptDialogClosedEventArgs&gt;? JavascriptDialogClosed</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.V143.Page.JavascriptDialogClosedEventArgs.html">JavascriptDialogClosedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_JavascriptDialogOpening" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.JavascriptDialogOpening">
JavascriptDialogOpening
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L175"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
open.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;JavascriptDialogOpeningEventArgs&gt;? JavascriptDialogOpening</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.V143.Page.JavascriptDialogOpeningEventArgs.html">JavascriptDialogOpeningEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_LifecycleEvent" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.LifecycleEvent">
LifecycleEvent
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L181"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired for lifecycle events (navigation, load, paint, etc) in the current
target (including local frames).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;LifecycleEventEventArgs&gt;? LifecycleEvent</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.V143.Page.LifecycleEventEventArgs.html">LifecycleEventEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_LoadEventFired" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.LoadEventFired">
LoadEventFired
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L194"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>loadEventFired</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;LoadEventFiredEventArgs&gt;? LoadEventFired</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.V143.Page.LoadEventFiredEventArgs.html">LoadEventFiredEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_NavigatedWithinDocument" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.NavigatedWithinDocument">
NavigatedWithinDocument
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L199"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;NavigatedWithinDocumentEventArgs&gt;? NavigatedWithinDocument</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.V143.Page.NavigatedWithinDocumentEventArgs.html">NavigatedWithinDocumentEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ScreencastFrame" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ScreencastFrame">
ScreencastFrame
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L204"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Compressed image data requested by the <code>startScreencast</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ScreencastFrameEventArgs&gt;? ScreencastFrame</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.V143.Page.ScreencastFrameEventArgs.html">ScreencastFrameEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_ScreencastVisibilityChanged" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.ScreencastVisibilityChanged">
ScreencastVisibilityChanged
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L209"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the page with currently enabled screencast was shown or hidden `.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ScreencastVisibilityChangedEventArgs&gt;? ScreencastVisibilityChanged</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.V143.Page.ScreencastVisibilityChangedEventArgs.html">ScreencastVisibilityChangedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V143_Page_PageAdapter_WindowOpen" data-uid="OpenQA.Selenium.DevTools.V143.Page.PageAdapter.WindowOpen">
WindowOpen
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.cs/#L215"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when a new window is going to be opened, via window.open(), link click, form submission,
etc.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;WindowOpenEventArgs&gt;? WindowOpen</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.V143.Page.WindowOpenEventArgs.html">WindowOpenEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/SeleniumHQ/selenium/blob/trunk/bazel-bin/dotnet/src/webdriver/cdp/v143/Page/PageAdapter.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>