diff --git a/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs b/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs index 2c6d476c410f1..c039dd4087740 100644 --- a/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs +++ b/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs @@ -5,7 +5,7 @@ namespace OpenQA.Selenium.BiDi; public static class WebDriverExtensions { - public static async Task AsBiDirectionalAsync(this IWebDriver webDriver) + public static async Task AsBiDiAsync(this IWebDriver webDriver) { var webSocketUrl = ((IHasCapabilities)webDriver).Capabilities.GetCapability("webSocketUrl"); @@ -16,9 +16,9 @@ public static async Task AsBiDirectionalAsync(this IWebDriver webDriver) return bidi; } - public static async Task AsBiDirectionalContextAsync(this IWebDriver webDriver) + public static async Task AsBiDiContextAsync(this IWebDriver webDriver) { - var bidi = await webDriver.AsBiDirectionalAsync(); + var bidi = await webDriver.AsBiDiAsync(); var currentBrowsingContext = new BrowsingContext(bidi, webDriver.CurrentWindowHandle);