Skip to content

Commit f68674c

Browse files
committed
[dotnet] Fix virtualAuth test
1 parent 1647292 commit f68674c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void ShouldBeAbleToRemoveAuthenticator()
8686
((WebDriver)driver).RemoveVirtualAuthenticator(virtualAuthenticatorId);
8787

8888
// Since the authenticator was removed, any operation using it will throw an error
89-
Assert.ThrowsException<WebDriverArgumentException>(() => ((WebDriver)driver).GetCredentials());
89+
Assert.ThrowsException<InvalidOperationException>(() => ((WebDriver)driver).GetCredentials());
9090
}
9191

9292
[TestMethod]

0 commit comments

Comments
 (0)