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

Method accept

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

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

()

Source from the content-addressed store, hash-verified

3427 * when this command has completed.
3428 */
3429 accept() {
3430 return this.driver_.execute(new command.Command(command.Name.ACCEPT_ALERT))
3431 }
3432
3433 /**
3434 * Dismisses this alert.

Callers

nothing calls this directly

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected