diff --git a/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs b/dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs index d9d46fe7d2b28..2c6d476c410f1 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 AsBiDirectionalAsync(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 AsBiDirectionalContextAsync(this IWebDriver webDriver) { - var bidi = await webDriver.AsBidirectionalAsync(); + var bidi = await webDriver.AsBiDirectionalAsync(); var currentBrowsingContext = new BrowsingContext(bidi, webDriver.CurrentWindowHandle);