Skip to content

Commit

Permalink
[dotnet] Renaming methods to follow C# pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Apr 23, 2024
1 parent 4a07526 commit 85da948
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/Chromium/ChromiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/Firefox/FirefoxDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/IE/InternetExplorerDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Safari/SafariDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 85da948

Please sign in to comment.