From b8b76bb0381668f2885d1ef4980ed99f0f185eee Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:22:14 +0300 Subject: [PATCH] [dotnet] [bidi] Consistent naming for main BiDi itself --- 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 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);