diff --git a/dotnet/src/webdriver/Chromium/ChromiumDriver.cs b/dotnet/src/webdriver/Chromium/ChromiumDriver.cs index adec0801f3ece..d4e3306053215 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumDriver.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumDriver.cs @@ -152,12 +152,12 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi if (service.DriverServicePath == null) { DriverFinder finder = new DriverFinder(options); - string fullServicePath = finder.DriverPath(); + string fullServicePath = finder.GetDriverPath(); service.DriverServicePath = Path.GetDirectoryName(fullServicePath); service.DriverServiceExecutableName = Path.GetFileName(fullServicePath); if (finder.HasBrowserPath()) { - options.BinaryLocation = finder.BrowserPath(); + options.BinaryLocation = finder.GetBrowserPath(); options.BrowserVersion = null; } } diff --git a/dotnet/src/webdriver/Firefox/FirefoxDriver.cs b/dotnet/src/webdriver/Firefox/FirefoxDriver.cs index 96273f1bb98fe..53452e02a917a 100644 --- a/dotnet/src/webdriver/Firefox/FirefoxDriver.cs +++ b/dotnet/src/webdriver/Firefox/FirefoxDriver.cs @@ -205,12 +205,12 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi if (service.DriverServicePath == null) { DriverFinder finder = new DriverFinder(options); - string fullServicePath = finder.DriverPath(); + string fullServicePath = finder.GetDriverPath(); service.DriverServicePath = Path.GetDirectoryName(fullServicePath); service.DriverServiceExecutableName = Path.GetFileName(fullServicePath); if (finder.HasBrowserPath()) { - options.BinaryLocation = finder.BrowserPath(); + options.BinaryLocation = finder.GetBrowserPath(); options.BrowserVersion = null; } } diff --git a/dotnet/src/webdriver/IE/InternetExplorerDriver.cs b/dotnet/src/webdriver/IE/InternetExplorerDriver.cs index ffe511bbf8a56..48391331d4f0d 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerDriver.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerDriver.cs @@ -157,7 +157,7 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi if (service.DriverServicePath == null) { DriverFinder finder = new DriverFinder(options); - string fullServicePath = finder.DriverPath(); + string fullServicePath = finder.GetDriverPath(); service.DriverServicePath = Path.GetDirectoryName(fullServicePath); service.DriverServiceExecutableName = Path.GetFileName(fullServicePath); } diff --git a/dotnet/src/webdriver/Safari/SafariDriver.cs b/dotnet/src/webdriver/Safari/SafariDriver.cs index 549b1cc00474f..4c88e90685f55 100644 --- a/dotnet/src/webdriver/Safari/SafariDriver.cs +++ b/dotnet/src/webdriver/Safari/SafariDriver.cs @@ -163,7 +163,7 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi if (service.DriverServicePath == null) { DriverFinder finder = new DriverFinder(options); - string fullServicePath = finder.DriverPath(); + string fullServicePath = finder.GetDriverPath(); service.DriverServicePath = Path.GetDirectoryName(fullServicePath); service.DriverServiceExecutableName = Path.GetFileName(fullServicePath); }