Skip to content

Commit 7d8ec12

Browse files
committed
Fixing change in API call
1 parent 1196cf2 commit 7d8ec12

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

examples/dotnet/SeleniumDocs/Browsers/ChromeTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ private static string GetChromeLocation()
177177
{
178178
BrowserVersion = "stable"
179179
};
180-
DriverFinder.FullPath(options);
181-
return options.BinaryLocation;
180+
return new DriverFinder(options).BrowserPath();
182181
}
183182
}
184183
}

examples/dotnet/SeleniumDocs/Browsers/EdgeTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ private static string GetEdgeLocation()
177177
{
178178
BrowserVersion = "stable"
179179
};
180-
DriverFinder.FullPath(options);
181-
return options.BinaryLocation;
180+
return new DriverFinder(options).BrowserPath();
182181
}
183182
}
184183
}

examples/dotnet/SeleniumDocs/Browsers/FirefoxTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ private static string GetFirefoxLocation()
201201
{
202202
BrowserVersion = "stable"
203203
};
204-
DriverFinder.FullPath(options);
205-
return options.BinaryLocation;
204+
return new DriverFinder(options).BrowserPath();
206205
}
207206
}
208207
}

examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void DriverPort()
3838

3939
private static string GetDriverLocation(ChromeOptions options)
4040
{
41-
return DriverFinder.FullPath(options);
41+
return new DriverFinder(options).DriverPath();
4242
}
4343

4444
private static ChromeOptions GetLatestChromeOptions()

0 commit comments

Comments
 (0)