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

Method Accept

dotnet/src/webdriver/Alert.cs:61–64  ·  view source on GitHub ↗

Accepts the alert.

()

Source from the content-addressed store, hash-verified

59 /// Accepts the alert.
60 /// </summary>
61 public void Accept()
62 {
63 this.driver.Execute(DriverCommand.AcceptAlert, null);
64 }
65
66 /// <summary>
67 /// Sends keys to the alert.

Calls 1

ExecuteMethod · 0.45