diff --git a/dotnet/src/webdriver/DriverFinder.cs b/dotnet/src/webdriver/DriverFinder.cs index 66722d132a505..6b0288dbddebd 100644 --- a/dotnet/src/webdriver/DriverFinder.cs +++ b/dotnet/src/webdriver/DriverFinder.cs @@ -49,7 +49,7 @@ public DriverFinder(DriverOptions options) /// /// The full browser path /// - public string BrowserPath() + public string GetBrowserPath() { return BinaryPaths()[BrowserPathKey]; } @@ -60,14 +60,14 @@ public string BrowserPath() /// /// The full driver path /// - public string DriverPath() + public string GetDriverPath() { return BinaryPaths()[DriverPathKey]; } public bool HasBrowserPath() { - return !string.IsNullOrWhiteSpace(BrowserPath()); + return !string.IsNullOrWhiteSpace(GetBrowserPath()); } /// diff --git a/dotnet/src/webdriver/DriverService.cs b/dotnet/src/webdriver/DriverService.cs index ad9b6e3c0444e..a061bee8594cb 100644 --- a/dotnet/src/webdriver/DriverService.cs +++ b/dotnet/src/webdriver/DriverService.cs @@ -275,7 +275,7 @@ public void Start() } else { - this.driverServiceProcess.StartInfo.FileName = new DriverFinder(this.GetDefaultDriverOptions()).DriverPath(); + this.driverServiceProcess.StartInfo.FileName = new DriverFinder(this.GetDefaultDriverOptions()).GetDriverPath(); } this.driverServiceProcess.StartInfo.Arguments = this.CommandLineArguments;