blob: c251088ecf5ba2bc7f92a73b4957b76455a9f592 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class DebuggerAdapter </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class DebuggerAdapter ">
<meta name="description" content="Represents an adapter for the Debugger domain to simplify the command interface.">
<link rel="icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:rel" content="../">
<meta name="docfx:docurl" content="https://github.com/SeleniumHQ/selenium/new/docfix/apiSpec/new?filename=OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter.md&amp;value=---%0Auid%3A%20OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter%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.V146.Debugger.DebuggerAdapter">
<h1 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter" class="text-break">
Class DebuggerAdapter <a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.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.V146.html">V146</a>.<a class="xref" href="OpenQA.Selenium.DevTools.V146.Debugger.html">Debugger</a></dd></dl>
<dl><dt>Assembly</dt><dd>Selenium.WebDriver.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents an adapter for the Debugger domain to simplify the command interface.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class DebuggerAdapter</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">DebuggerAdapter</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_V146_Debugger_DebuggerAdapter__ctor_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.#ctor*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter__ctor_OpenQA_Selenium_DevTools_IDevToolsSession_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.#ctor(OpenQA.Selenium.DevTools.IDevToolsSession)">
DebuggerAdapter(IDevToolsSession)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the DebuggerAdapter class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public DebuggerAdapter(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_V146_Debugger_DebuggerAdapter_Session_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Session*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Session" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Session">
Session
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L40"><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_V146_Debugger_DebuggerAdapter_ContinueToLocation_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.ContinueToLocation*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_ContinueToLocation_OpenQA_Selenium_DevTools_V146_Debugger_ContinueToLocationCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.ContinueToLocation(OpenQA.Selenium.DevTools.V146.Debugger.ContinueToLocationCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
ContinueToLocation(ContinueToLocationCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L74"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Continues execution until specific location is reached.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ContinueToLocationCommandResponse?&gt; ContinueToLocation(ContinueToLocationCommandSettings 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.V146.Debugger.ContinueToLocationCommandSettings.html">ContinueToLocationCommandSettings</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.V146.Debugger.ContinueToLocationCommandResponse.html">ContinueToLocationCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Disable_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Disable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Disable_OpenQA_Selenium_DevTools_V146_Debugger_DisableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Disable(OpenQA.Selenium.DevTools.V146.Debugger.DisableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L82"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Disables debugger for given page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DisableCommandResponse?&gt; Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V146.Debugger.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.V146.Debugger.DisableCommandResponse.html">DisableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_DisassembleWasmModule_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.DisassembleWasmModule*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_DisassembleWasmModule_OpenQA_Selenium_DevTools_V146_Debugger_DisassembleWasmModuleCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.DisassembleWasmModule(OpenQA.Selenium.DevTools.V146.Debugger.DisassembleWasmModuleCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
DisassembleWasmModule(DisassembleWasmModuleCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L124"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>disassembleWasmModule</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;DisassembleWasmModuleCommandResponse&gt; DisassembleWasmModule(DisassembleWasmModuleCommandSettings 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.V146.Debugger.DisassembleWasmModuleCommandSettings.html">DisassembleWasmModuleCommandSettings</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.V146.Debugger.DisassembleWasmModuleCommandResponse.html">DisassembleWasmModuleCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Enable_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Enable*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Enable_OpenQA_Selenium_DevTools_V146_Debugger_EnableCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Enable(OpenQA.Selenium.DevTools.V146.Debugger.EnableCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Enable(EnableCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L91"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables debugger for the given page. Clients should not assume that the debugging has been
enabled until the result for this command is received.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EnableCommandResponse&gt; Enable(EnableCommandSettings command, 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.V146.Debugger.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.V146.Debugger.EnableCommandResponse.html">EnableCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_EvaluateOnCallFrame_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.EvaluateOnCallFrame*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_EvaluateOnCallFrame_OpenQA_Selenium_DevTools_V146_Debugger_EvaluateOnCallFrameCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.EvaluateOnCallFrame(OpenQA.Selenium.DevTools.V146.Debugger.EvaluateOnCallFrameCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
EvaluateOnCallFrame(EvaluateOnCallFrameCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L99"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Evaluates expression on a given call frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;EvaluateOnCallFrameCommandResponse&gt; EvaluateOnCallFrame(EvaluateOnCallFrameCommandSettings 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.V146.Debugger.EvaluateOnCallFrameCommandSettings.html">EvaluateOnCallFrameCommandSettings</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.V146.Debugger.EvaluateOnCallFrameCommandResponse.html">EvaluateOnCallFrameCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetPossibleBreakpoints_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetPossibleBreakpoints*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetPossibleBreakpoints_OpenQA_Selenium_DevTools_V146_Debugger_GetPossibleBreakpointsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetPossibleBreakpoints(OpenQA.Selenium.DevTools.V146.Debugger.GetPossibleBreakpointsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetPossibleBreakpoints(GetPossibleBreakpointsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L108"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns possible locations for breakpoint. scriptId in start and end range locations should be
the same.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetPossibleBreakpointsCommandResponse&gt; GetPossibleBreakpoints(GetPossibleBreakpointsCommandSettings 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.V146.Debugger.GetPossibleBreakpointsCommandSettings.html">GetPossibleBreakpointsCommandSettings</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.V146.Debugger.GetPossibleBreakpointsCommandResponse.html">GetPossibleBreakpointsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetScriptSource_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetScriptSource*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetScriptSource_OpenQA_Selenium_DevTools_V146_Debugger_GetScriptSourceCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetScriptSource(OpenQA.Selenium.DevTools.V146.Debugger.GetScriptSourceCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetScriptSource(GetScriptSourceCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L116"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns source for the script with given id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetScriptSourceCommandResponse&gt; GetScriptSource(GetScriptSourceCommandSettings 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.V146.Debugger.GetScriptSourceCommandSettings.html">GetScriptSourceCommandSettings</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.V146.Debugger.GetScriptSourceCommandResponse.html">GetScriptSourceCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetStackTrace_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetStackTrace*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetStackTrace_OpenQA_Selenium_DevTools_V146_Debugger_GetStackTraceCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetStackTrace(OpenQA.Selenium.DevTools.V146.Debugger.GetStackTraceCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetStackTrace(GetStackTraceCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L151"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Returns stack trace with given <code>stackTraceId</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetStackTraceCommandResponse&gt; GetStackTrace(GetStackTraceCommandSettings 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.V146.Debugger.GetStackTraceCommandSettings.html">GetStackTraceCommandSettings</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.V146.Debugger.GetStackTraceCommandResponse.html">GetStackTraceCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetWasmBytecode_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetWasmBytecode*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_GetWasmBytecode_OpenQA_Selenium_DevTools_V146_Debugger_GetWasmBytecodeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.GetWasmBytecode(OpenQA.Selenium.DevTools.V146.Debugger.GetWasmBytecodeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
GetWasmBytecode(GetWasmBytecodeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L143"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>This command is deprecated. Use getScriptSource instead.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;GetWasmBytecodeCommandResponse&gt; GetWasmBytecode(GetWasmBytecodeCommandSettings 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.V146.Debugger.GetWasmBytecodeCommandSettings.html">GetWasmBytecodeCommandSettings</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.V146.Debugger.GetWasmBytecodeCommandResponse.html">GetWasmBytecodeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_NextWasmDisassemblyChunk_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.NextWasmDisassemblyChunk*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_NextWasmDisassemblyChunk_OpenQA_Selenium_DevTools_V146_Debugger_NextWasmDisassemblyChunkCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.NextWasmDisassemblyChunk(OpenQA.Selenium.DevTools.V146.Debugger.NextWasmDisassemblyChunkCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
NextWasmDisassemblyChunk(NextWasmDisassemblyChunkCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L135"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Disassemble the next chunk of lines for the module corresponding to the
stream. If disassembly is complete, this API will invalidate the streamId
and return an empty chunk. Any subsequent calls for the now invalid stream
will return errors.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;NextWasmDisassemblyChunkCommandResponse&gt; NextWasmDisassemblyChunk(NextWasmDisassemblyChunkCommandSettings 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.V146.Debugger.NextWasmDisassemblyChunkCommandSettings.html">NextWasmDisassemblyChunkCommandSettings</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.V146.Debugger.NextWasmDisassemblyChunkCommandResponse.html">NextWasmDisassemblyChunkCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Pause_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Pause*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Pause_OpenQA_Selenium_DevTools_V146_Debugger_PauseCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Pause(OpenQA.Selenium.DevTools.V146.Debugger.PauseCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Pause(PauseCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L159"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Stops on the next JavaScript statement.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PauseCommandResponse?&gt; Pause(PauseCommandSettings? 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.V146.Debugger.PauseCommandSettings.html">PauseCommandSettings</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.V146.Debugger.PauseCommandResponse.html">PauseCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_PauseOnAsyncCall_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.PauseOnAsyncCall*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_PauseOnAsyncCall_OpenQA_Selenium_DevTools_V146_Debugger_PauseOnAsyncCallCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.PauseOnAsyncCall(OpenQA.Selenium.DevTools.V146.Debugger.PauseOnAsyncCallCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
PauseOnAsyncCall(PauseOnAsyncCallCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L167"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>pauseOnAsyncCall</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;PauseOnAsyncCallCommandResponse?&gt; PauseOnAsyncCall(PauseOnAsyncCallCommandSettings 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.V146.Debugger.PauseOnAsyncCallCommandSettings.html">PauseOnAsyncCallCommandSettings</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.V146.Debugger.PauseOnAsyncCallCommandResponse.html">PauseOnAsyncCallCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_RemoveBreakpoint_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.RemoveBreakpoint*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_RemoveBreakpoint_OpenQA_Selenium_DevTools_V146_Debugger_RemoveBreakpointCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.RemoveBreakpoint(OpenQA.Selenium.DevTools.V146.Debugger.RemoveBreakpointCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RemoveBreakpoint(RemoveBreakpointCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L175"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Removes JavaScript breakpoint.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RemoveBreakpointCommandResponse?&gt; RemoveBreakpoint(RemoveBreakpointCommandSettings 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.V146.Debugger.RemoveBreakpointCommandSettings.html">RemoveBreakpointCommandSettings</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.V146.Debugger.RemoveBreakpointCommandResponse.html">RemoveBreakpointCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_RestartFrame_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.RestartFrame*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_RestartFrame_OpenQA_Selenium_DevTools_V146_Debugger_RestartFrameCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.RestartFrame(OpenQA.Selenium.DevTools.V146.Debugger.RestartFrameCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
RestartFrame(RestartFrameCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L195"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Restarts particular call frame from the beginning. The old, deprecated
behavior of <code>restartFrame</code> is to stay paused and allow further CDP commands
after a restart was scheduled. This can cause problems with restarting, so
we now continue execution immediatly after it has been scheduled until we
reach the beginning of the restarted frame.</p>
<p>To stay back-wards compatible, <code>restartFrame</code> now expects a <code>mode</code>
parameter to be present. If the <code>mode</code> parameter is missing, <code>restartFrame</code>
errors out.</p>
<p>The various return values are deprecated and <code>callFrames</code> is always empty.
Use the call frames from the <code>Debugger#paused</code> events instead, that fires
once V8 pauses at the beginning of the restarted function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;RestartFrameCommandResponse&gt; RestartFrame(RestartFrameCommandSettings 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.V146.Debugger.RestartFrameCommandSettings.html">RestartFrameCommandSettings</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.V146.Debugger.RestartFrameCommandResponse.html">RestartFrameCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Resume_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Resume*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Resume_OpenQA_Selenium_DevTools_V146_Debugger_ResumeCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Resume(OpenQA.Selenium.DevTools.V146.Debugger.ResumeCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
Resume(ResumeCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L203"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Resumes JavaScript execution.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;ResumeCommandResponse?&gt; Resume(ResumeCommandSettings 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.V146.Debugger.ResumeCommandSettings.html">ResumeCommandSettings</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.V146.Debugger.ResumeCommandResponse.html">ResumeCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SearchInContent_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SearchInContent*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SearchInContent_OpenQA_Selenium_DevTools_V146_Debugger_SearchInContentCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SearchInContent(OpenQA.Selenium.DevTools.V146.Debugger.SearchInContentCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SearchInContent(SearchInContentCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L211"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Searches for given string in script content.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SearchInContentCommandResponse&gt; SearchInContent(SearchInContentCommandSettings 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.V146.Debugger.SearchInContentCommandSettings.html">SearchInContentCommandSettings</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.V146.Debugger.SearchInContentCommandResponse.html">SearchInContentCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetAsyncCallStackDepth_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetAsyncCallStackDepth*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetAsyncCallStackDepth_OpenQA_Selenium_DevTools_V146_Debugger_SetAsyncCallStackDepthCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetAsyncCallStackDepth(OpenQA.Selenium.DevTools.V146.Debugger.SetAsyncCallStackDepthCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L219"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Enables or disables async call stacks tracking.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetAsyncCallStackDepthCommandResponse?&gt; SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>command</code> <a class="xref" href="OpenQA.Selenium.DevTools.V146.Debugger.SetAsyncCallStackDepthCommandSettings.html">SetAsyncCallStackDepthCommandSettings</a></dt>
<dd></dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd></dd>
<dt><code>millisecondsTimeout</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
<dt><code>throwExceptionIfResponseNotReceived</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="OpenQA.Selenium.DevTools.V146.Debugger.SetAsyncCallStackDepthCommandResponse.html">SetAsyncCallStackDepthCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxExecutionContexts_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxExecutionContexts*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxExecutionContexts_OpenQA_Selenium_DevTools_V146_Debugger_SetBlackboxExecutionContextsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxExecutionContexts(OpenQA.Selenium.DevTools.V146.Debugger.SetBlackboxExecutionContextsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBlackboxExecutionContexts(SetBlackboxExecutionContextsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L229"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Replace previous blackbox execution contexts with passed ones. Forces backend to skip
stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
performing 'step in' several times, finally resorting to 'step out' if unsuccessful.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBlackboxExecutionContextsCommandResponse?&gt; SetBlackboxExecutionContexts(SetBlackboxExecutionContextsCommandSettings 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.V146.Debugger.SetBlackboxExecutionContextsCommandSettings.html">SetBlackboxExecutionContextsCommandSettings</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.V146.Debugger.SetBlackboxExecutionContextsCommandResponse.html">SetBlackboxExecutionContextsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxPatterns_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxPatterns*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxPatterns_OpenQA_Selenium_DevTools_V146_Debugger_SetBlackboxPatternsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxPatterns(OpenQA.Selenium.DevTools.V146.Debugger.SetBlackboxPatternsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBlackboxPatterns(SetBlackboxPatternsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L239"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
scripts with url matching one of the patterns. VM will try to leave blackboxed script by
performing 'step in' several times, finally resorting to 'step out' if unsuccessful.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBlackboxPatternsCommandResponse?&gt; SetBlackboxPatterns(SetBlackboxPatternsCommandSettings 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.V146.Debugger.SetBlackboxPatternsCommandSettings.html">SetBlackboxPatternsCommandSettings</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.V146.Debugger.SetBlackboxPatternsCommandResponse.html">SetBlackboxPatternsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxedRanges_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxedRanges*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBlackboxedRanges_OpenQA_Selenium_DevTools_V146_Debugger_SetBlackboxedRangesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBlackboxedRanges(OpenQA.Selenium.DevTools.V146.Debugger.SetBlackboxedRangesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBlackboxedRanges(SetBlackboxedRangesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L250"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Positions array contains positions where blackbox state is changed. First interval isn't
blackboxed. Array should be sorted.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBlackboxedRangesCommandResponse?&gt; SetBlackboxedRanges(SetBlackboxedRangesCommandSettings 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.V146.Debugger.SetBlackboxedRangesCommandSettings.html">SetBlackboxedRangesCommandSettings</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.V146.Debugger.SetBlackboxedRangesCommandResponse.html">SetBlackboxedRangesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpoint_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpoint*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpoint_OpenQA_Selenium_DevTools_V146_Debugger_SetBreakpointCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpoint(OpenQA.Selenium.DevTools.V146.Debugger.SetBreakpointCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBreakpoint(SetBreakpointCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L258"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets JavaScript breakpoint at a given location.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBreakpointCommandResponse&gt; SetBreakpoint(SetBreakpointCommandSettings 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.V146.Debugger.SetBreakpointCommandSettings.html">SetBreakpointCommandSettings</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.V146.Debugger.SetBreakpointCommandResponse.html">SetBreakpointCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointByUrl_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointByUrl*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointByUrl_OpenQA_Selenium_DevTools_V146_Debugger_SetBreakpointByUrlCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointByUrl(OpenQA.Selenium.DevTools.V146.Debugger.SetBreakpointByUrlCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBreakpointByUrl(SetBreakpointByUrlCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L277"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
command is issued, all existing parsed scripts will have breakpoints resolved and returned in
<code>locations</code> property. Further matching script parsing will result in subsequent
<code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBreakpointByUrlCommandResponse&gt; SetBreakpointByUrl(SetBreakpointByUrlCommandSettings 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.V146.Debugger.SetBreakpointByUrlCommandSettings.html">SetBreakpointByUrlCommandSettings</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.V146.Debugger.SetBreakpointByUrlCommandResponse.html">SetBreakpointByUrlCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointOnFunctionCall_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointOnFunctionCall*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointOnFunctionCall_OpenQA_Selenium_DevTools_V146_Debugger_SetBreakpointOnFunctionCallCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointOnFunctionCall(OpenQA.Selenium.DevTools.V146.Debugger.SetBreakpointOnFunctionCallCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCallCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L287"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets JavaScript breakpoint before each call to the given function.
If another function was created from the same source as a given one,
calling it will also trigger the breakpoint.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBreakpointOnFunctionCallCommandResponse&gt; SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCallCommandSettings 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.V146.Debugger.SetBreakpointOnFunctionCallCommandSettings.html">SetBreakpointOnFunctionCallCommandSettings</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.V146.Debugger.SetBreakpointOnFunctionCallCommandResponse.html">SetBreakpointOnFunctionCallCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointsActive_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointsActive*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetBreakpointsActive_OpenQA_Selenium_DevTools_V146_Debugger_SetBreakpointsActiveCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetBreakpointsActive(OpenQA.Selenium.DevTools.V146.Debugger.SetBreakpointsActiveCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetBreakpointsActive(SetBreakpointsActiveCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L295"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Activates / deactivates all breakpoints on the page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetBreakpointsActiveCommandResponse?&gt; SetBreakpointsActive(SetBreakpointsActiveCommandSettings 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.V146.Debugger.SetBreakpointsActiveCommandSettings.html">SetBreakpointsActiveCommandSettings</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.V146.Debugger.SetBreakpointsActiveCommandResponse.html">SetBreakpointsActiveCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetInstrumentationBreakpoint_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetInstrumentationBreakpoint*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetInstrumentationBreakpoint_OpenQA_Selenium_DevTools_V146_Debugger_SetInstrumentationBreakpointCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetInstrumentationBreakpoint(OpenQA.Selenium.DevTools.V146.Debugger.SetInstrumentationBreakpointCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L266"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Sets instrumentation breakpoint.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetInstrumentationBreakpointCommandResponse&gt; SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings 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.V146.Debugger.SetInstrumentationBreakpointCommandSettings.html">SetInstrumentationBreakpointCommandSettings</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.V146.Debugger.SetInstrumentationBreakpointCommandResponse.html">SetInstrumentationBreakpointCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetPauseOnExceptions_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetPauseOnExceptions*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetPauseOnExceptions_OpenQA_Selenium_DevTools_V146_Debugger_SetPauseOnExceptionsCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetPauseOnExceptions(OpenQA.Selenium.DevTools.V146.Debugger.SetPauseOnExceptionsCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetPauseOnExceptions(SetPauseOnExceptionsCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L304"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions,
or caught exceptions, no exceptions. Initial pause on exceptions state is <code>none</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetPauseOnExceptionsCommandResponse?&gt; SetPauseOnExceptions(SetPauseOnExceptionsCommandSettings 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.V146.Debugger.SetPauseOnExceptionsCommandSettings.html">SetPauseOnExceptionsCommandSettings</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.V146.Debugger.SetPauseOnExceptionsCommandResponse.html">SetPauseOnExceptionsCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetReturnValue_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetReturnValue*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetReturnValue_OpenQA_Selenium_DevTools_V146_Debugger_SetReturnValueCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetReturnValue(OpenQA.Selenium.DevTools.V146.Debugger.SetReturnValueCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetReturnValue(SetReturnValueCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L312"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Changes return value in top frame. Available only at return break position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetReturnValueCommandResponse?&gt; SetReturnValue(SetReturnValueCommandSettings 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.V146.Debugger.SetReturnValueCommandSettings.html">SetReturnValueCommandSettings</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.V146.Debugger.SetReturnValueCommandResponse.html">SetReturnValueCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetScriptSource_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetScriptSource*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetScriptSource_OpenQA_Selenium_DevTools_V146_Debugger_SetScriptSourceCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetScriptSource(OpenQA.Selenium.DevTools.V146.Debugger.SetScriptSourceCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetScriptSource(SetScriptSourceCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L326"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Edits JavaScript source live.</p>
<p>In general, functions that are currently on the stack can not be edited with
a single exception: If the edited function is the top-most stack frame and
that is the only activation of that function on the stack. In this case
the live edit will be successful and a <code>Debugger.restartFrame</code> for the
top-most function is automatically triggered.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetScriptSourceCommandResponse&gt; SetScriptSource(SetScriptSourceCommandSettings 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.V146.Debugger.SetScriptSourceCommandSettings.html">SetScriptSourceCommandSettings</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.V146.Debugger.SetScriptSourceCommandResponse.html">SetScriptSourceCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetSkipAllPauses_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetSkipAllPauses*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetSkipAllPauses_OpenQA_Selenium_DevTools_V146_Debugger_SetSkipAllPausesCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetSkipAllPauses(OpenQA.Selenium.DevTools.V146.Debugger.SetSkipAllPausesCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetSkipAllPauses(SetSkipAllPausesCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L334"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetSkipAllPausesCommandResponse?&gt; SetSkipAllPauses(SetSkipAllPausesCommandSettings 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.V146.Debugger.SetSkipAllPausesCommandSettings.html">SetSkipAllPausesCommandSettings</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.V146.Debugger.SetSkipAllPausesCommandResponse.html">SetSkipAllPausesCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetVariableValue_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetVariableValue*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_SetVariableValue_OpenQA_Selenium_DevTools_V146_Debugger_SetVariableValueCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.SetVariableValue(OpenQA.Selenium.DevTools.V146.Debugger.SetVariableValueCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
SetVariableValue(SetVariableValueCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L343"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Changes value of variable in a callframe. Object-based scopes are not supported and must be
mutated manually.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;SetVariableValueCommandResponse?&gt; SetVariableValue(SetVariableValueCommandSettings 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.V146.Debugger.SetVariableValueCommandSettings.html">SetVariableValueCommandSettings</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.V146.Debugger.SetVariableValueCommandResponse.html">SetVariableValueCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepInto_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepInto*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepInto_OpenQA_Selenium_DevTools_V146_Debugger_StepIntoCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepInto(OpenQA.Selenium.DevTools.V146.Debugger.StepIntoCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StepInto(StepIntoCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L351"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Steps into the function call.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StepIntoCommandResponse?&gt; StepInto(StepIntoCommandSettings 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.V146.Debugger.StepIntoCommandSettings.html">StepIntoCommandSettings</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.V146.Debugger.StepIntoCommandResponse.html">StepIntoCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepOut_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepOut*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepOut_OpenQA_Selenium_DevTools_V146_Debugger_StepOutCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepOut(OpenQA.Selenium.DevTools.V146.Debugger.StepOutCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StepOut(StepOutCommandSettings?, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L359"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Steps out of the function call.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StepOutCommandResponse?&gt; StepOut(StepOutCommandSettings? 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.V146.Debugger.StepOutCommandSettings.html">StepOutCommandSettings</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.V146.Debugger.StepOutCommandResponse.html">StepOutCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<a id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepOver_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepOver*"></a>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_StepOver_OpenQA_Selenium_DevTools_V146_Debugger_StepOverCommandSettings_System_Threading_CancellationToken_System_Nullable_System_Int32__System_Boolean_" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.StepOver(OpenQA.Selenium.DevTools.V146.Debugger.StepOverCommandSettings,System.Threading.CancellationToken,System.Nullable{System.Int32},System.Boolean)">
StepOver(StepOverCommandSettings, CancellationToken, int?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L367"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Steps over the statement.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;StepOverCommandResponse?&gt; StepOver(StepOverCommandSettings 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.V146.Debugger.StepOverCommandSettings.html">StepOverCommandSettings</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.V146.Debugger.StepOverCommandResponse.html">StepOverCommandResponse</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_BreakpointResolved" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.BreakpointResolved">
BreakpointResolved
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L46"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when breakpoint is resolved to an actual script and location.
Deprecated in favor of <code>resolvedBreakpoints</code> in the <code>scriptParsed</code> event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;BreakpointResolvedEventArgs&gt;? BreakpointResolved</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.V146.Debugger.BreakpointResolvedEventArgs.html">BreakpointResolvedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Paused" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Paused">
Paused
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L51"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;PausedEventArgs&gt;? Paused</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.V146.Debugger.PausedEventArgs.html">PausedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_Resumed" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.Resumed">
Resumed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L56"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the virtual machine resumed execution.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ResumedEventArgs&gt;? Resumed</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.V146.Debugger.ResumedEventArgs.html">ResumedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_ScriptFailedToParse" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.ScriptFailedToParse">
ScriptFailedToParse
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L61"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when virtual machine fails to parse the script.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ScriptFailedToParseEventArgs&gt;? ScriptFailedToParse</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.V146.Debugger.ScriptFailedToParseEventArgs.html">ScriptFailedToParseEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="OpenQA_Selenium_DevTools_V146_Debugger_DebuggerAdapter_ScriptParsed" data-uid="OpenQA.Selenium.DevTools.V146.Debugger.DebuggerAdapter.ScriptParsed">
ScriptParsed
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.cs/#L67"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when virtual machine parses script. This event is also fired for all known and uncollected
scripts upon enabling debugger.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event EventHandler&lt;ScriptParsedEventArgs&gt;? ScriptParsed</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.V146.Debugger.ScriptParsedEventArgs.html">ScriptParsedEventArgs</a>&gt;</dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/SeleniumHQ/selenium/blob/docfix/bazel-bin/dotnet/src/webdriver/DevTools/v146/Debugger/DebuggerAdapter.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>