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

Method SetUserVerified

dotnet/src/webdriver/WebDriver.cs:1212–1221  ·  view source on GitHub ↗

Sets the isUserVerified property for the Virtual Authenticator. The boolean value representing value to be set

(bool verified)

Source from the content-addressed store, hash-verified

1210 /// </summary>
1211 /// <param name="verified">The boolean value representing value to be set </param>
1212 public void SetUserVerified(bool verified)
1213 {
1214 string authenticatorId = this.AuthenticatorId ?? throw new InvalidOperationException("Virtual Authenticator needs to be added before it can perform operations");
1215
1216 Dictionary<string, object?> parameters = new Dictionary<string, object?>();
1217 parameters.Add("authenticatorId", authenticatorId);
1218 parameters.Add("isUserVerified", verified);
1219
1220 this.Execute(driverCommandToExecute: DriverCommand.SetUserVerified, parameters);
1221 }
1222}

Callers 1

TestSetUserVerifiedMethod · 0.45

Calls 2

ExecuteMethod · 0.95
AddMethod · 0.45

Tested by 1

TestSetUserVerifiedMethod · 0.36