Skip to content

Commit cb2e6ba

Browse files
authored
Merge branch 'trunk' into pallavi-csharpalert
2 parents ac47299 + f68674c commit cb2e6ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs

Lines changed: 1 addition & 1 deletion
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)