We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9040895 commit ae0130bCopy full SHA for ae0130b
dotnet/test/common/NetworkInterceptionTests.cs
@@ -11,6 +11,18 @@ namespace OpenQA.Selenium
11
[TestFixture]
12
public class NetworkInterceptionTests : DriverTestFixture
13
{
14
+ [TearDown]
15
+ public void RemoveHandlers()
16
+ {
17
+ if (driver is IDevTools)
18
19
+ INetwork network = driver.Manage().Network;
20
+ network.ClearAuthenticationHandlers();
21
+ network.ClearRequestHandlers();
22
+ network.ClearResponseHandlers();
23
+ }
24
25
+
26
[Test]
27
[IgnoreBrowser(Browser.Firefox, "Firefox does not implement the CDP Fetch domain required for network interception")]
28
public async Task TestCanInterceptNetworkCalls()
0 commit comments