Skip to content

Conversation

@selenium-ci
Copy link
Member

@selenium-ci selenium-ci commented Aug 14, 2025

User description

This PR updates the API documentation for version 4.35.0-all.


PR Type

Documentation


Description

• Updated API documentation for Selenium .NET WebDriver version 4.35.0
• Enhanced BiDi (Browser Bidirectional) API with new network interception methods and standardized return types
• Added new ChromiumDriverLogLevel enum and logging enhancements for Chromium-based drivers
• Introduced BiDiOptions class for BiDi configuration
• Removed deprecated methods and constructors across DevTools and driver classes
• Updated DevTools version support (removed V130-V136, added V139)
• Fixed various documentation typos and updated source code line references
• Cleaned up obsolete API elements and standardized async method return types


Diagram Walkthrough

flowchart LR
  A["Selenium 4.35.0 Documentation"] --> B["BiDi API Enhancements"]
  A --> C["DevTools Updates"]
  A --> D["Chromium Driver Improvements"]
  B --> E["Network Interception Methods"]
  B --> F["Standardized Return Types"]
  B --> G["BiDiOptions Class"]
  C --> H["Version V139 Support"]
  C --> I["Removed V130-V136"]
  D --> J["ChromiumDriverLogLevel Enum"]
  D --> K["Logging Properties"]
Loading

File Walkthrough

Relevant files
Documentation
10 files
OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.html
Update BrowsingContext API documentation with new return types

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.html

• Updated source code line references throughout the file (line
numbers incremented by 1)
• Changed return types from Task to Task for
several async methods (ActivateAsync, CloseAsync,
HandleUserPromptAsync, SetViewportAsync)
• Changed return type from
Task to Task for TraverseHistoryAsync method
• Removed two navigation
methods: NavigateBackAsync and NavigateForwardAsync

+49/-121
OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.html
Update BrowsingContextNetworkModule API documentation with new return
types

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.html

• Updated source code line references throughout the file (line
numbers incremented by 1)
• Changed return type from Task to Task for
SetCacheBehaviorAsync method

+19/-19 
OpenQA.Selenium.BiDi.Network.NetworkModule.html
Add new network interception methods to NetworkModule documentation

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Network.NetworkModule.html

• Added several new async methods: AddInterceptAsync,
ContinueRequestAsync, ContinueResponseAsync, ContinueWithAuthAsync
(multiple overloads), FailRequestAsync, ProvideResponseAsync,
RemoveInterceptAsync
• Changed return type from Task to Task for
SetCacheBehaviorAsync method
• All new methods return Task or Task
types

+346/-2 
OpenQA.Selenium.DevTools.DevToolsSession.html
Remove obsolete DevToolsSession constructor from documentation

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.DevToolsSession.html

• Removed obsolete constructor DevToolsSession(string) that was marked
with [Obsolete] attribute
• Updated source code line references
throughout the file (line numbers decremented due to removed
constructor)

+15/-48 
OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextModule.html
Update BrowsingContextModule API documentation with new return types

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextModule.html

• Changed return types from Task to Task for several async methods:
ActivateAsync, CloseAsync, HandleUserPromptAsync, SetViewportAsync

+8/-8     
OpenQA.Selenium.BiDi.Browser.BrowserModule.html
Update BrowserModule API documentation with new return types

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Browser.BrowserModule.html

• Changed return types from Task to Task for CloseAsync and
RemoveUserContextAsync methods

+4/-4     
OpenQA.Selenium.DevTools.IDevTools.html
Update IDevTools interface documentation line reference   

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.IDevTools.html

• Updated source code line reference for CloseDevToolsSession method
(line number changed from 66 to 56)

+1/-41   
OpenQA.Selenium.DevTools.ConsoleApiCalledEventArgs.html
Documentation typo fix                                                                     

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.ConsoleApiCalledEventArgs.html

• Fixed typo in documentation: "time stanp" corrected to "time stamp"

+2/-2     
OpenQA.Selenium.Chromium.ChromiumOptions.html
Documentation typo fixes                                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.ChromiumOptions.html

• Fixed typo in documentation: "exeption" corrected to "exception" in
two locations

+2/-2     
OpenQA.Selenium.DevTools.ICommandResponseExtensions.html
Documentation typo fix                                                                     

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.ICommandResponseExtensions.html

• Fixed typo in documentation: "impelementing" corrected to
"implementing"

+1/-1     
Enhancement
23 files
OpenQA.Selenium.BiDi.BiDi.html
BiDi class sealed and documentation cleanup                           

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BiDi.html

• Changed class declaration from public class BiDi to public sealed
class BiDi
• Removed object.MemberwiseClone() from inherited members

Updated line number references in source code links throughout the
file
• Removed DisposeAsyncCore() method from the documentation

+13/-47 
OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextInputModule.html
Input module methods return type updates                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextInputModule.html

• Updated return types from Task to Task for PerformActionsAsync,
ReleaseActionsAsync, and SetFilesAsync methods
• Updated source code
line number references

+12/-12 
OpenQA.Selenium.Chromium.ChromiumDriver.html
ChromiumDriver deprecated method removal and updates         

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.ChromiumDriver.html

• Removed deprecated GetDevToolsSession(int) method from documentation

• Updated source code line number references for various methods

Updated extension method reference to include BiDiOptions parameter

+10/-50 
OpenQA.Selenium.Chromium.ChromiumDriverService.html
ChromiumDriverService logging enhancements and cleanup     

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.ChromiumDriverService.html

• Added new LogLevel property of type ChromiumDriverLogLevel
• Added
new ReadableTimestamp boolean property
• Removed deprecated
WhitelistedIPAddresses property
• Added OnDriverProcessDataReceived
method to inherited members

+53/-20 
OpenQA.Selenium.Chromium.ChromiumDriverLogLevel.html
New ChromiumDriverLogLevel enum documentation                       

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.ChromiumDriverLogLevel.html

• New enum file defining logging levels for Chromium-based drivers

Includes values: All, Debug, Info, Warning, Severe, Off, Default

+169/-0 
OpenQA.Selenium.BiDi.BiDiOptions.html
New BiDiOptions class documentation                                           

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BiDiOptions.html

• New class file for BiDiOptions sealed class
• Basic class structure
with standard object inheritance

+173/-0 
OpenQA.Selenium.BiDi.Communication.Broker.html
Broker communication method cleanup                                           

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Communication.Broker.html

• Removed ExecuteCommandAsync method overload that returned Task

Updated source code line number references for remaining methods

+5/-48   
OpenQA.Selenium.BiDi.Input.InputModule.html
Input module return type standardization                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Input.InputModule.html

• Updated return types from Task to Task for PerformActionsAsync,
ReleaseActionsAsync, and SetFilesAsync methods

+6/-6     
OpenQA.Selenium.DevTools.UserAgent.html
UserAgent deprecated constructor removal                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.UserAgent.html

• Removed deprecated parameterless constructor UserAgent()
• Updated
source code line number references for remaining constructor and
properties

+6/-34   
OpenQA.Selenium.BiDi.WebDriverExtensions.html
WebDriver extension method parameter enhancement                 

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.WebDriverExtensions.html

• Updated AsBiDiAsync method signature to include optional BiDiOptions
parameter
• Method now accepts AsBiDiAsync(IWebDriver, BiDiOptions?)
instead of just AsBiDiAsync(IWebDriver)

+5/-3     
OpenQA.Selenium.BiDi.Browser.CreateUserContextOptions.html
Browser context options enhancement                                           

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Browser.CreateUserContextOptions.html

• Added new UnhandledPromptBehavior property of type UserPromptHandler

+31/-0   
OpenQA.Selenium.Chrome.ChromeDriver.html
ChromeDriver deprecated method removal                                     

docs/api/dotnet/webdriver/OpenQA.Selenium.Chrome.ChromeDriver.html

• Removed deprecated GetDevToolsSession(int) method from inherited
members
• Updated extension method reference to include BiDiOptions
parameter

+1/-4     
OpenQA.Selenium.Chrome.ChromeDriverService.html
ChromeDriverService inherited members update                         

docs/api/dotnet/webdriver/OpenQA.Selenium.Chrome.ChromeDriverService.html

• Added new LogLevel and ReadableTimestamp properties to inherited
members
• Removed deprecated WhitelistedIPAddresses property

+4/-1     
OpenQA.Selenium.BiDi.Script.ScriptModule.html
Script module return type update                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Script.ScriptModule.html

• Updated RemovePreloadScriptAsync method return type from Task to
Task

+2/-2     
OpenQA.Selenium.DevTools.DevToolsSessionDomains.html
DevTools version updates                                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.DevToolsSessionDomains.html

• Updated derived classes list: removed V135 and V136, added V139

+1/-2     
OpenQA.Selenium.DevTools.JavaScript.html
DevTools JavaScript version updates                                           

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.JavaScript.html

• Updated derived classes list: removed V136, added V139

+1/-1     
OpenQA.Selenium.DevTools.DevToolsDomains.html
DevTools domains version updates                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.DevToolsDomains.html

• Updated derived classes list: removed V136, added V139

+1/-1     
OpenQA.Selenium.DevTools.Log.html
DevTools Log version updates                                                         

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.Log.html

• Updated derived classes list: removed V136, added V139

+1/-1     
OpenQA.Selenium.DevTools.Network.html
DevTools Network version updates                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.Network.html

• Updated derived classes list: removed V136, added V139

+1/-1     
OpenQA.Selenium.DevTools.Target.html
DevTools Target version updates                                                   

docs/api/dotnet/webdriver/OpenQA.Selenium.DevTools.Target.html

• Updated derived classes list: removed V136, added V139

+1/-1     
OpenQA.Selenium.Chromium.html
Chromium namespace enum addition                                                 

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.html

• Added new ChromiumDriverLogLevel enum to the enums section

+8/-0     
OpenQA.Selenium.BiDi.Network.SameSite.html
SameSite enum value addition                                                         

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Network.SameSite.html

• Added new Default = 3 enum value to the SameSite enum

+2/-0     
OpenQA.Selenium.BiDi.html
BiDi namespace class addition                                                       

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.html

• Added BiDiOptions class to the classes section

+4/-0     
Miscellaneous
3 files
OpenQA.Selenium.BiDi.BrowsingContext.InterceptAuthOptions.html
Minor line number reference update                                             

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.InterceptAuthOptions.html

• Updated source code line number reference from line 141 to 142

+2/-2     
OpenQA.Selenium.BiDi.BrowsingContext.InterceptRequestOptions.html
Minor line number reference update                                             

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.InterceptRequestOptions.html

• Updated source code line number reference from line 137 to 138

+2/-2     
OpenQA.Selenium.BiDi.BrowsingContext.InterceptResponseOptions.html
Minor line number reference update                                             

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.InterceptResponseOptions.html

• Updated source code line number reference from line 139 to 140

+2/-2     
Additional files
101 files
index.json +8795/-69880
manifest.json [link]   
OpenQA.Selenium.BiDi.Modules.Browser.BrowserModule.html +0/-395 
OpenQA.Selenium.BiDi.Modules.Browser.ClientWindow.html +0/-182 
OpenQA.Selenium.BiDi.Modules.Browser.ClientWindowInfo.html +0/-450 
OpenQA.Selenium.BiDi.Modules.Browser.ClientWindowState.html +0/-155 
OpenQA.Selenium.BiDi.Modules.Browser.CloseOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.Browser.CreateUserContextOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.Browser.GetClientWindowsOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.Browser.GetClientWindowsResult.html +0/-294 
OpenQA.Selenium.BiDi.Modules.Browser.GetUserContextsOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.Browser.GetUserContextsResult.html +0/-294 
OpenQA.Selenium.BiDi.Modules.Browser.RemoveUserContextOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.Browser.UserContext.html +0/-311 
OpenQA.Selenium.BiDi.Modules.Browser.UserContextInfo.html +0/-254 
OpenQA.Selenium.BiDi.Modules.Browser.html +0/-177 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.AccessibilityLocator.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.AccessibilityValue.html +0/-248 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ActivateOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BoxClipRectangle.html +0/-353 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContext.html +0/-1513
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextGetTreeOptions.html +0/-217 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextInfo.html +0/-430 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextInputModule.html +0/-331 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextLogModule.html +0/-293 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextModule.html +0/-1591
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextNetworkModule.html +0/-749 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextScriptModule.html +0/-469 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.BrowsingContextStorageModule.html +0/-327 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CaptureScreenshotOptions.html +0/-284 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CaptureScreenshotResult.html +0/-289 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ClipRectangle.Box.html +0/-353 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ClipRectangle.Element.html +0/-255 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ClipRectangle.html +0/-192 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CloseOptions.html +0/-222 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ContextLocator.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ContextType.html +0/-151 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ContextValue.html +0/-252 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CreateOptions.html +0/-284 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CreateResult.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.CssLocator.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ElementClipRectangle.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.GetTreeOptions.html +0/-283 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.GetTreeResult.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.HandleUserPromptOptions.html +0/-253 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ImageFormat.html +0/-273 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.InnerTextLocator.html +0/-347 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.InterceptAuthOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.InterceptRequestOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.InterceptResponseOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.LocateNodesOptions.html +0/-284 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.LocateNodesResult.html +0/-294 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.Accessibility.AccessibilityValue.html +0/-248 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.Accessibility.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.Css.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.InnerText.html +0/-347 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.XPath.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Locator.html +0/-198 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.MatchType.html +0/-151 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.NavigateOptions.html +0/-222 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.NavigateResult.html +0/-287 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Navigation.html +0/-252 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.NavigationInfo.html +0/-332 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Origin.html +0/-151 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintMargin.html +0/-294 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintOptions.html +0/-408 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintOrientation.html +0/-151 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintPage.html +0/-232 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintPageRange.html +0/-315 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.PrintResult.html +0/-289 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ReadinessState.html +0/-153 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ReloadOptions.html +0/-253 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.ScreenshotOrigin.html +0/-151 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.SetViewportOptions.html +0/-253 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.TraverseHistoryOptions.html +0/-187 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.TraverseHistoryResult.html +0/-184 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.UserPromptClosedEventArgs.html +0/-298 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.UserPromptOpenedEventArgs.html +0/-364 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.UserPromptType.html +0/-155 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.Viewport.html +0/-275 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.XPathLocator.html +0/-254 
OpenQA.Selenium.BiDi.Modules.BrowsingContext.html +0/-356 
OpenQA.Selenium.BiDi.Modules.Input.DownKey.html +0/-256 
OpenQA.Selenium.BiDi.Modules.Input.DownPointer.html +0/-474 
OpenQA.Selenium.BiDi.Modules.Input.ElementOrigin.html +0/-254 
OpenQA.Selenium.BiDi.Modules.Input.IKeySourceAction.html +0/-148 
OpenQA.Selenium.BiDi.Modules.Input.INoneSourceAction.html +0/-146 
OpenQA.Selenium.BiDi.Modules.Input.IPointerCommonProperties.html +0/-365 
OpenQA.Selenium.BiDi.Modules.Input.IPointerSourceAction.html +0/-149 
OpenQA.Selenium.BiDi.Modules.Input.ISourceAction.html +0/-144 
OpenQA.Selenium.BiDi.Modules.Input.IWheelSourceAction.html +0/-147 
OpenQA.Selenium.BiDi.Modules.Input.InputModule.html +0/-333 
OpenQA.Selenium.BiDi.Modules.Input.Key.Down.html +0/-256 
OpenQA.Selenium.BiDi.Modules.Input.Key.Up.html +0/-256 
OpenQA.Selenium.BiDi.Modules.Input.Key.html +0/-191 
OpenQA.Selenium.BiDi.Modules.Input.KeyActions.html +0/-240 
OpenQA.Selenium.BiDi.Modules.Input.MovePointer.html +0/-569 
OpenQA.Selenium.BiDi.Modules.Input.None.html +0/-184 
OpenQA.Selenium.BiDi.Modules.Input.NoneActions.html +0/-200 
OpenQA.Selenium.BiDi.Modules.Input.Origin.Element.html +0/-286 
Additional files not shown

@selenium-ci selenium-ci added the B-docs API Docs; see other repo for website documentation label Aug 14, 2025
@selenium-ci selenium-ci merged commit f89fbb0 into gh-pages Aug 14, 2025
1 check passed
@selenium-ci selenium-ci deleted the api-docs-4.35.0 branch August 14, 2025 19:53
@qodo-merge-pro
Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Return Type Consistency

Multiple async methods now document returning Task or Task. Verify the source signatures indeed changed and that all related overloads/pages reflect the new generic Task return types to avoid mismatches.

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_ActivateAsync_OpenQA_Selenium_BiDi_BrowsingContext_ActivateOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.ActivateAsync(OpenQA.Selenium.BiDi.BrowsingContext.ActivateOptions)">
ActivateAsync(ActivateOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L70"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; ActivateAsync(ActivateOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.ActivateOptions.html">ActivateOptions</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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_CaptureScreenshotAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.CaptureScreenshotAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_CaptureScreenshotAsync_OpenQA_Selenium_BiDi_BrowsingContext_CaptureScreenshotOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.CaptureScreenshotAsync(OpenQA.Selenium.BiDi.BrowsingContext.CaptureScreenshotOptions)">
CaptureScreenshotAsync(CaptureScreenshotOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L80"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;CaptureScreenshotResult&gt; CaptureScreenshotAsync(CaptureScreenshotOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.CaptureScreenshotOptions.html">CaptureScreenshotOptions</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.BiDi.BrowsingContext.CaptureScreenshotResult.html">CaptureScreenshotResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_CloseAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.CloseAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_CloseAsync_OpenQA_Selenium_BiDi_BrowsingContext_CloseOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.CloseAsync(OpenQA.Selenium.BiDi.BrowsingContext.CloseOptions)">
CloseAsync(CloseOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L85"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; CloseAsync(CloseOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.CloseOptions.html">CloseOptions</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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_Equals_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.Equals*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_Equals_System_Object_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.Equals(System.Object)">
Equals(object?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L210"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override bool Equals(object? obj)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>obj</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</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.boolean">bool</a></dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_GetHashCode_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.GetHashCode*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_GetHashCode" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.GetHashCode">
GetHashCode()
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L217"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
</div>


<h4 class="section">Returns</h4>
<dl class="parameters">
  <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_GetTreeAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.GetTreeAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_GetTreeAsync_OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextGetTreeOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.GetTreeAsync(OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextGetTreeOptions)">
GetTreeAsync(BrowsingContextGetTreeOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L110"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;GetTreeResult&gt; GetTreeAsync(BrowsingContextGetTreeOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextGetTreeOptions.html">BrowsingContextGetTreeOptions</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.BiDi.BrowsingContext.GetTreeResult.html">GetTreeResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_HandleUserPromptAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.HandleUserPromptAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_HandleUserPromptAsync_OpenQA_Selenium_BiDi_BrowsingContext_HandleUserPromptOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.HandleUserPromptAsync(OpenQA.Selenium.BiDi.BrowsingContext.HandleUserPromptOptions)">
HandleUserPromptAsync(HandleUserPromptOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L105"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; HandleUserPromptAsync(HandleUserPromptOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.HandleUserPromptOptions.html">HandleUserPromptOptions</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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_LocateNodesAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.LocateNodesAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_LocateNodesAsync_OpenQA_Selenium_BiDi_BrowsingContext_Locator_OpenQA_Selenium_BiDi_BrowsingContext_LocateNodesOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.LocateNodesAsync(OpenQA.Selenium.BiDi.BrowsingContext.Locator,OpenQA.Selenium.BiDi.BrowsingContext.LocateNodesOptions)">
LocateNodesAsync(Locator, LocateNodesOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L75"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;LocateNodesResult&gt; LocateNodesAsync(Locator locator, LocateNodesOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>locator</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.Locator.html">Locator</a></dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.LocateNodesOptions.html">LocateNodesOptions</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.BiDi.BrowsingContext.LocateNodesResult.html">LocateNodesResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_NavigateAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.NavigateAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_NavigateAsync_System_String_OpenQA_Selenium_BiDi_BrowsingContext_NavigateOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.NavigateAsync(System.String,OpenQA.Selenium.BiDi.BrowsingContext.NavigateOptions)">
NavigateAsync(string, NavigateOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L60"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;NavigateResult&gt; NavigateAsync(string url, NavigateOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>url</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigateOptions.html">NavigateOptions</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.BiDi.BrowsingContext.NavigateResult.html">NavigateResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDomContentLoadedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDomContentLoadedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDomContentLoadedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDomContentLoadedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnDomContentLoadedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L155"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnDomContentLoadedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDomContentLoadedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDomContentLoadedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDomContentLoadedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDomContentLoadedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnDomContentLoadedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L150"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnDomContentLoadedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDownloadWillBeginAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDownloadWillBeginAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDownloadWillBeginAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDownloadWillBeginAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnDownloadWillBeginAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L170"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnDownloadWillBeginAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDownloadWillBeginAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDownloadWillBeginAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnDownloadWillBeginAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnDownloadWillBeginAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnDownloadWillBeginAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L175"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnDownloadWillBeginAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnFragmentNavigatedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnFragmentNavigatedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnFragmentNavigatedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnFragmentNavigatedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnFragmentNavigatedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L135"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnFragmentNavigatedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnFragmentNavigatedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnFragmentNavigatedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnFragmentNavigatedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnFragmentNavigatedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnFragmentNavigatedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L130"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnFragmentNavigatedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnHistoryUpdatedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnHistoryUpdatedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnHistoryUpdatedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_HistoryUpdatedEventArgs__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnHistoryUpdatedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.HistoryUpdatedEventArgs},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnHistoryUpdatedAsync(Action&lt;HistoryUpdatedEventArgs&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L145"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnHistoryUpdatedAsync(Action&lt;HistoryUpdatedEventArgs&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.HistoryUpdatedEventArgs.html">HistoryUpdatedEventArgs</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnHistoryUpdatedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnHistoryUpdatedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnHistoryUpdatedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_HistoryUpdatedEventArgs_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnHistoryUpdatedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.HistoryUpdatedEventArgs,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnHistoryUpdatedAsync(Func&lt;HistoryUpdatedEventArgs, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L140"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnHistoryUpdatedAsync(Func&lt;HistoryUpdatedEventArgs, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.HistoryUpdatedEventArgs.html">HistoryUpdatedEventArgs</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnLoadAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnLoadAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnLoadAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnLoadAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnLoadAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L160"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnLoadAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnLoadAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnLoadAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnLoadAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnLoadAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnLoadAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L165"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnLoadAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationAbortedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationAbortedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationAbortedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationAbortedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationAbortedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L180"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationAbortedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationAbortedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationAbortedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationAbortedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationAbortedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationAbortedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L185"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationAbortedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationCommittedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationCommittedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationCommittedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationCommittedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationCommittedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L200"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationCommittedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationCommittedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationCommittedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationCommittedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationCommittedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationCommittedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L205"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationCommittedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationFailedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationFailedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationFailedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationFailedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationFailedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L190"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationFailedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationFailedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationFailedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationFailedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationFailedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationFailedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L195"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationFailedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationStartedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationStartedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationStartedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationStartedAsync(System.Action{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationStartedAsync(Action&lt;NavigationInfo&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L125"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationStartedAsync(Action&lt;NavigationInfo&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationStartedAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationStartedAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnNavigationStartedAsync_System_Func_OpenQA_Selenium_BiDi_BrowsingContext_NavigationInfo_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.OnNavigationStartedAsync(System.Func{OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnNavigationStartedAsync(Func&lt;NavigationInfo, Task&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L120"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnNavigationStartedAsync(Func&lt;NavigationInfo, Task&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.NavigationInfo.html">NavigationInfo</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_PrintAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.PrintAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_PrintAsync_OpenQA_Selenium_BiDi_BrowsingContext_PrintOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.PrintAsync(OpenQA.Selenium.BiDi.BrowsingContext.PrintOptions)">
PrintAsync(PrintOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L100"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;PrintResult&gt; PrintAsync(PrintOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.PrintOptions.html">PrintOptions</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.BiDi.BrowsingContext.PrintResult.html">PrintResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_ReloadAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.ReloadAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_ReloadAsync_OpenQA_Selenium_BiDi_BrowsingContext_ReloadOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.ReloadAsync(OpenQA.Selenium.BiDi.BrowsingContext.ReloadOptions)">
ReloadAsync(ReloadOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L65"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;NavigateResult&gt; ReloadAsync(ReloadOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.ReloadOptions.html">ReloadOptions</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.BiDi.BrowsingContext.NavigateResult.html">NavigateResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_SetViewportAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.SetViewportAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_SetViewportAsync_OpenQA_Selenium_BiDi_BrowsingContext_SetViewportOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.SetViewportAsync(OpenQA.Selenium.BiDi.BrowsingContext.SetViewportOptions)">
SetViewportAsync(SetViewportOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L95"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; SetViewportAsync(SetViewportOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.SetViewportOptions.html">SetViewportOptions</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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_TraverseHistoryAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.TraverseHistoryAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_TraverseHistoryAsync_System_Int32_OpenQA_Selenium_BiDi_BrowsingContext_TraverseHistoryOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.TraverseHistoryAsync(System.Int32,OpenQA.Selenium.BiDi.BrowsingContext.TraverseHistoryOptions)">
TraverseHistoryAsync(int, TraverseHistoryOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContext.cs/#L90"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;TraverseHistoryResult&gt; TraverseHistoryAsync(int delta, TraverseHistoryOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>delta</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.TraverseHistoryOptions.html">TraverseHistoryOptions</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.BiDi.BrowsingContext.TraverseHistoryResult.html">TraverseHistoryResult</a>&gt;</dt>
  <dd></dd>
BiDi Network Interception Docs

Interception methods and event subscriptions have updated anchors/line refs and some now return Task. Confirm examples and any cross-links (options/result types) align with the new API and that removed/renamed members are reflected across the site.

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_InterceptAuthAsync_System_Func_OpenQA_Selenium_BiDi_Network_InterceptedAuth_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_BrowsingContext_InterceptAuthOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.InterceptAuthAsync(System.Func{OpenQA.Selenium.BiDi.Network.InterceptedAuth,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.BrowsingContext.InterceptAuthOptions)">
InterceptAuthAsync(Func&lt;InterceptedAuth, Task&gt;, InterceptAuthOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContextNetworkModule.cs/#L61"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Intercept&gt; InterceptAuthAsync(Func&lt;InterceptedAuth, Task&gt; handler, InterceptAuthOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.Network.InterceptedAuth.html">InterceptedAuth</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.InterceptAuthOptions.html">InterceptAuthOptions</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.BiDi.Network.Intercept.html">Intercept</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_InterceptRequestAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.InterceptRequestAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_InterceptRequestAsync_System_Func_OpenQA_Selenium_BiDi_Network_InterceptedRequest_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_BrowsingContext_InterceptRequestOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.InterceptRequestAsync(System.Func{OpenQA.Selenium.BiDi.Network.InterceptedRequest,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.BrowsingContext.InterceptRequestOptions)">
InterceptRequestAsync(Func&lt;InterceptedRequest, Task&gt;, InterceptRequestOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContextNetworkModule.cs/#L29"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Intercept&gt; InterceptRequestAsync(Func&lt;InterceptedRequest, Task&gt; handler, InterceptRequestOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.Network.InterceptedRequest.html">InterceptedRequest</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.InterceptRequestOptions.html">InterceptRequestOptions</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.BiDi.Network.Intercept.html">Intercept</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_InterceptResponseAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.InterceptResponseAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_InterceptResponseAsync_System_Func_OpenQA_Selenium_BiDi_Network_InterceptedResponse_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_BrowsingContext_InterceptResponseOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.InterceptResponseAsync(System.Func{OpenQA.Selenium.BiDi.Network.InterceptedResponse,System.Threading.Tasks.Task},OpenQA.Selenium.BiDi.BrowsingContext.InterceptResponseOptions)">
InterceptResponseAsync(Func&lt;InterceptedResponse, Task&gt;, InterceptResponseOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContextNetworkModule.cs/#L45"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Intercept&gt; InterceptResponseAsync(Func&lt;InterceptedResponse, Task&gt; handler, InterceptResponseOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.Network.InterceptedResponse.html">InterceptedResponse</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BrowsingContext.InterceptResponseOptions.html">InterceptResponseOptions</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.BiDi.Network.Intercept.html">Intercept</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_OnAuthRequiredAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.OnAuthRequiredAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_OnAuthRequiredAsync_System_Action_OpenQA_Selenium_BiDi_Network_AuthRequiredEventArgs__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.OnAuthRequiredAsync(System.Action{OpenQA.Selenium.BiDi.Network.AuthRequiredEventArgs},OpenQA.Selenium.BiDi.SubscriptionOptions)">
OnAuthRequiredAsync(Action&lt;AuthRequiredEventArgs&gt;, SubscriptionOptions?)
<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/BrowsingContext/BrowsingContextNetworkModule.cs/#L132"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Task&lt;Subscription&gt; OnAuthRequiredAsync(Action&lt;AuthRequiredEventArgs&gt; handler, SubscriptionOptions? options = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
  <dt><code>handler</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="OpenQA.Selenium.BiDi.Network.AuthRequiredEventArgs.html">AuthRequiredEventArgs</a>&gt;</dt>
  <dd></dd>
  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.SubscriptionOptions.html">SubscriptionOptions</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.BiDi.Subscription.html">Subscription</a>&gt;</dt>
  <dd></dd>
</dl>











<a id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_OnAuthRequiredAsync_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.OnAuthRequiredAsync*"></a>

<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContextNetworkModule_OnAuthRequiredAsync_System_Func_OpenQA_Selenium_BiDi_Network_AuthRequiredEventArgs_System_Threading_Tasks_Task__OpenQA_Selenium_BiDi_SubscriptionOptions_" data-uid="OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContextNetworkModule.OnAuthRequiredAsync(System.Func{OpenQA.Selenium.BiDi.Network.AuthRequir...

@qodo-merge-pro
Copy link
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Add guidance for removed methods

Since NavigateBackAsync and NavigateForwardAsync were removed, add a
cross-reference note near TraverseHistoryAsync indicating it supersedes
back/forward and document how to use positive/negative delta. This prevents
breaking users relying on removed methods.

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.html [1453-1454]

-...NavigateAsync(string, NavigateOptions?)...
-...
-<!-- Removed NavigateBackAsync / NavigateForwardAsync sections entirely -->
-...
-<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_OnHistoryUpdatedAsync_System_Action_OpenQA_Selenium_BiDi_BrowsingContext_HistoryUpdatedEventArgs__OpenQA_Selenium_BiDi_SubscriptionOptions_">
+<h3 id="OpenQA_Selenium_BiDi_BrowsingContext_BrowsingContext_TraverseHistoryAsync_System_Int32_OpenQA_Selenium_BiDi_BrowsingContext_TraverseHistoryOptions_">TraverseHistoryAsync(int, TraverseHistoryOptions?)</h3>
+<div class="markdown level1 summary"><p>Traverses the browsing history. Use a negative <code>delta</code> to go back and a positive <code>delta</code> to go forward. This replaces the removed <code>NavigateBackAsync</code> and <code>NavigateForwardAsync</code> methods.</p></div>

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 7

__

Why: This is a valuable suggestion to improve documentation by explaining how to migrate from the removed NavigateBackAsync and NavigateForwardAsync methods to the new TraverseHistoryAsync method, enhancing user experience.

Medium
Fix nullable parameter docs

Include the nullable indicator for the options parameter in the parameter list
to match the signature shown in the code block. This prevents misinformation and
keeps generated docs consistent with the API. Also add a brief one-line summary
describing the purpose of the options parameter.

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.WebDriverExtensions.html [170-175]

-<h3 id="OpenQA_Selenium_BiDi_WebDriverExtensions_AsBiDiAsync_OpenQA_Selenium_IWebDriver_OpenQA_Selenium_BiDi_BiDiOptions_" data-uid="OpenQA.Selenium.BiDi.WebDriverExtensions.AsBiDiAsync(OpenQA.Selenium.IWebDriver,OpenQA.Selenium.BiDi.BiDiOptions)">
-AsBiDiAsync(IWebDriver, BiDiOptions?)
-<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs/#L27"><i class="bi bi-code-slash"></i></a>
-</h3>
-...
-<div class="codewrapper">
-  <pre><code class="lang-csharp hljs">public static Task&lt;BiDi&gt; AsBiDiAsync(this IWebDriver webDriver, BiDiOptions? options = null)</code></pre>
-</div>
-...
 <dl class="parameters">
   <dt><code>webDriver</code> <a class="xref" href="OpenQA.Selenium.IWebDriver.html">IWebDriver</a></dt>
   <dd></dd>
-  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BiDiOptions.html">BiDiOptions</a></dt>
-  <dd></dd>
+  <dt><code>options</code> <a class="xref" href="OpenQA.Selenium.BiDi.BiDiOptions.html">BiDiOptions</a>?</dt>
+  <dd><p>Optional configuration to control BiDi connection behavior.</p></dd>
 </dl>

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies and fixes an inconsistency in the documentation for the AsBiDiAsync method, where the options parameter was not marked as nullable in the parameter list, and adds a helpful description.

Low
Clarify boolean property behavior

Expand the summary to specify the effect and default behavior of
ReadableTimestamp (e.g., whether it’s off by default and what format it uses).
This prevents ambiguity for users toggling log formatting.

docs/api/dotnet/webdriver/OpenQA.Selenium.Chromium.ChromiumDriverService.html [580-591]

-<h3 id="OpenQA_Selenium_Chromium_ChromiumDriverService_ReadableTimestamp" data-uid="OpenQA.Selenium.Chromium.ChromiumDriverService.ReadableTimestamp">
-ReadableTimestamp
-<a class="header-action link-secondary" title="View source" href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs/#L101"><i class="bi bi-code-slash"></i></a>
-</h3>
-...
-<div class="markdown level1 summary"><p>Adds readable timestamps to log</p>
-</div>
-...
-<div class="codewrapper">
-  <pre><code class="lang-csharp hljs">public bool ReadableTimestamp { get; set; }</code></pre>
+<div class="markdown level1 summary"><p>Enables human-readable timestamps in driver logs (disabled by default). When enabled, timestamps are rendered in a readable date-time format instead of raw epoch values.</p>
 </div>

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 5

__

Why: The suggestion improves the documentation for the new ReadableTimestamp property by clarifying its purpose and default state, which is helpful for users.

Low
Possible issue
Align documented return types

Ensure the documented return type matches the actual API signature throughout
the page. Verify that all places (method signature block and the Returns
section) consistently reflect Task for this method and others changed similarly.

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.BrowsingContext.BrowsingContext.html [347-358]

+<pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; ActivateAsync(ActivateOptions? options = null)</code></pre>
+...
+<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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
 
-

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 5

__

Why: The suggestion correctly identifies that return types have been updated and asks to verify consistency, which is a valid check, but the PR already implements these changes correctly.

Low
Ensure consistency and valid links

Verify all newly added methods consistently include their generic Task return
types in both signature and Returns sections. Cross-check links for new types
(e.g., Intercept, Request, option types) resolve correctly to avoid broken docs.

docs/api/dotnet/webdriver/OpenQA.Selenium.BiDi.Network.NetworkModule.html [1037-1050]

 <pre><code class="lang-csharp hljs">public Task&lt;EmptyResult&gt; SetCacheBehaviorAsync(CacheBehavior behavior, SetCacheBehaviorOptions? options = null)</code></pre>
 ...
-<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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
+<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.BiDi.Communication.EmptyResult.html">EmptyResult</a>&gt;</dt>
+  <dd></dd>
+</dl>

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 5

__

Why: The suggestion correctly points out the need for consistency in return types for new methods, but the PR already implements these changes correctly, making this a verification of existing work.

Low
  • More

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-docs API Docs; see other repo for website documentation Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants