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

Method dismiss

javascript/selenium-webdriver/lib/webdriver.js:3439–3441  ·  view source on GitHub ↗

* Dismisses this alert. * * @return {!Promise } A promise that will be resolved * when this command has completed.

()

Source from the content-addressed store, hash-verified

3437 * when this command has completed.
3438 */
3439 dismiss() {
3440 return this.driver_.execute(new command.Command(command.Name.DISMISS_ALERT))
3441 }
3442
3443 /**
3444 * Sets the response text on this alert. This command will return an error if

Callers

nothing calls this directly

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected