Skip to content

Commit

Permalink
[dotnet] Fix virtualAuth test
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Feb 7, 2025
1 parent 1647292 commit f68674c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void ShouldBeAbleToRemoveAuthenticator()
((WebDriver)driver).RemoveVirtualAuthenticator(virtualAuthenticatorId);

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

[TestMethod]
Expand Down

0 comments on commit f68674c

Please sign in to comment.