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

Method RemoveVirtualAuthenticator

dotnet/src/webdriver/WebDriver.cs:1100–1109  ·  view source on GitHub ↗

Removes the Virtual Authenticator Id as string that uniquely identifies a Virtual Authenticator. If is .

(string authenticatorId)

Source from the content-addressed store, hash-verified

1098 /// <param name="authenticatorId">Id as string that uniquely identifies a Virtual Authenticator.</param>
1099 /// <exception cref="ArgumentNullException">If <paramref name="authenticatorId"/> is <see langword="null"/>.</exception>
1100 public void RemoveVirtualAuthenticator(string authenticatorId)
1101 {
1102 ArgumentNullException.ThrowIfNull(authenticatorId);
1103
1104 Dictionary<string, object?> parameters = new Dictionary<string, object?>();
1105 parameters.Add("authenticatorId", authenticatorId);
1106
1107 this.Execute(DriverCommand.RemoveVirtualAuthenticator, parameters);
1108 this.AuthenticatorId = null;
1109 }
1110
1111 /// <summary>
1112 /// Gets the cached virtual authenticator ID, or <see langword="null"/> if no authenticator ID is set.

Calls 3

ExecuteMethod · 0.95
ThrowIfNullMethod · 0.80
AddMethod · 0.45