Skip to content

Commit

Permalink
[dotnet] [bidi] Consistent naming for main BiDi itself
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Sep 16, 2024
1 parent b88f688 commit b8b76bb
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> AsBiDiAsync(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> AsBiDiContextAsync(this IWebDriver webDriver)
{
var bidi = await webDriver.AsBiDirectionalAsync();
var bidi = await webDriver.AsBiDiAsync();

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

Expand Down

0 comments on commit b8b76bb

Please sign in to comment.