MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / RemoveAllCredentials

Method RemoveAllCredentials

dotnet/src/webdriver/WebDriver.cs:1198–1206  ·  view source on GitHub ↗

Removes all the credentials stored in the Virtual Authenticator. If a Virtual Authenticator has not been added yet.

()

Source from the content-addressed store, hash-verified

1196 /// </summary>
1197 /// <exception cref="InvalidOperationException">If a Virtual Authenticator has not been added yet.</exception>
1198 public void RemoveAllCredentials()
1199 {
1200 string authenticatorId = this.AuthenticatorId ?? throw new InvalidOperationException("Virtual Authenticator needs to be added before it can perform operations");
1201
1202 Dictionary<string, object?> parameters = new Dictionary<string, object?>();
1203 parameters.Add("authenticatorId", authenticatorId);
1204
1205 this.Execute(driverCommandToExecute: DriverCommand.RemoveAllCredentials, parameters);
1206 }
1207
1208 /// <summary>
1209 /// Sets the isUserVerified property for the Virtual Authenticator.

Callers 1

Calls 2

ExecuteMethod · 0.95
AddMethod · 0.45

Tested by 1