Skip to content

Commit 85da948

Browse files
committed
[dotnet] Renaming methods to follow C# pattern.
1 parent 4a07526 commit 85da948

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dotnet/src/webdriver/Chromium/ChromiumDriver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi
152152
if (service.DriverServicePath == null)
153153
{
154154
DriverFinder finder = new DriverFinder(options);
155-
string fullServicePath = finder.DriverPath();
155+
string fullServicePath = finder.GetDriverPath();
156156
service.DriverServicePath = Path.GetDirectoryName(fullServicePath);
157157
service.DriverServiceExecutableName = Path.GetFileName(fullServicePath);
158158
if (finder.HasBrowserPath())
159159
{
160-
options.BinaryLocation = finder.BrowserPath();
160+
options.BinaryLocation = finder.GetBrowserPath();
161161
options.BrowserVersion = null;
162162
}
163163
}

dotnet/src/webdriver/Firefox/FirefoxDriver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi
205205
if (service.DriverServicePath == null)
206206
{
207207
DriverFinder finder = new DriverFinder(options);
208-
string fullServicePath = finder.DriverPath();
208+
string fullServicePath = finder.GetDriverPath();
209209
service.DriverServicePath = Path.GetDirectoryName(fullServicePath);
210210
service.DriverServiceExecutableName = Path.GetFileName(fullServicePath);
211211
if (finder.HasBrowserPath())
212212
{
213-
options.BinaryLocation = finder.BrowserPath();
213+
options.BinaryLocation = finder.GetBrowserPath();
214214
options.BrowserVersion = null;
215215
}
216216
}

dotnet/src/webdriver/IE/InternetExplorerDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi
157157
if (service.DriverServicePath == null)
158158
{
159159
DriverFinder finder = new DriverFinder(options);
160-
string fullServicePath = finder.DriverPath();
160+
string fullServicePath = finder.GetDriverPath();
161161
service.DriverServicePath = Path.GetDirectoryName(fullServicePath);
162162
service.DriverServiceExecutableName = Path.GetFileName(fullServicePath);
163163
}

dotnet/src/webdriver/Safari/SafariDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private static ICommandExecutor GenerateDriverServiceCommandExecutor(DriverServi
163163
if (service.DriverServicePath == null)
164164
{
165165
DriverFinder finder = new DriverFinder(options);
166-
string fullServicePath = finder.DriverPath();
166+
string fullServicePath = finder.GetDriverPath();
167167
service.DriverServicePath = Path.GetDirectoryName(fullServicePath);
168168
service.DriverServiceExecutableName = Path.GetFileName(fullServicePath);
169169
}

0 commit comments

Comments
 (0)