* Accepts this alert. * * @return {!Promise } A promise that will be resolved * when this command has completed.
()
| 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. |