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

Method Dismiss

dotnet/src/webdriver/Alert.cs:53–56  ·  view source on GitHub ↗

Dismisses the alert.

()

Source from the content-addressed store, hash-verified

51 /// Dismisses the alert.
52 /// </summary>
53 public void Dismiss()
54 {
55 this.driver.Execute(DriverCommand.DismissAlert, null);
56 }
57
58 /// <summary>
59 /// Accepts the alert.

Calls 1

ExecuteMethod · 0.45