From 0871b6ae925bff23cca58a75f122e236d86856a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20=C5=A0est=C3=A1k?= Date: Mon, 6 May 2024 12:39:47 +0100 Subject: [PATCH] Changed casting of ChromeDriver to ChromiumDriver - MS Edge fix --- src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs b/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs index db5b0ea1e0..7bbfab9bf2 100644 --- a/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs +++ b/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs @@ -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,