Skip to content

Commit

Permalink
Merge pull request #1815 from riganti/fix/tests-chromium-driver
Browse files Browse the repository at this point in the history
Changed type casting of ChromeDriver to ChromiumDriver - MS Edge fix
  • Loading branch information
exyi committed May 6, 2024
2 parents 7a170a2 + 0871b6a commit b8bef11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs
Expand Up @@ -32,7 +32,7 @@ public void Complex_SPAErrorReporting_NavigationAndPostbacks()
void SetOfflineMode(bool offline)
{
((ChromeDriver)browser.Driver).NetworkConditions = new ChromiumNetworkConditions() {
((ChromiumDriver)browser.Driver).NetworkConditions = new ChromiumNetworkConditions() {
IsOffline = offline,
Latency = TimeSpan.FromMilliseconds(5),
DownloadThroughput = 500 * 1024,
Expand Down

0 comments on commit b8bef11

Please sign in to comment.