Skip to content

Commit

Permalink
[dotnet] [bidi] Rename entry point AsBidirectional to AsBiDirectional
Browse files Browse the repository at this point in the history
To keep aligned with naming and with other bindings
  • Loading branch information
nvborisenko committed Sep 16, 2024
1 parent 7602371 commit b88f688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace OpenQA.Selenium.BiDi;

public static class WebDriverExtensions
{
public static async Task<BiDi> AsBidirectionalAsync(this IWebDriver webDriver)
public static async Task<BiDi> AsBiDirectionalAsync(this IWebDriver webDriver)
{
var webSocketUrl = ((IHasCapabilities)webDriver).Capabilities.GetCapability("webSocketUrl");

Expand All @@ -16,9 +16,9 @@ public static async Task<BiDi> AsBidirectionalAsync(this IWebDriver webDriver)
return bidi;
}

public static async Task<BrowsingContext> AsBidirectionalContextAsync(this IWebDriver webDriver)
public static async Task<BrowsingContext> AsBiDirectionalContextAsync(this IWebDriver webDriver)
{
var bidi = await webDriver.AsBidirectionalAsync();
var bidi = await webDriver.AsBiDirectionalAsync();

var currentBrowsingContext = new BrowsingContext(bidi, webDriver.CurrentWindowHandle);

Expand Down

0 comments on commit b88f688

Please sign in to comment.