From b88f688db7d44f92776d83ae0a94e462220b5649 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:01:20 +0300 Subject: [PATCH] [dotnet] [bidi] Rename entry point AsBidirectional to AsBiDirectional To keep aligned with naming and with other bindings --- dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);