alertAccept

Accepts the currently displayed alert dialog. Usually, this is equivalent to clicking on the ‘OK’ button in the dialog.

Usage

1
client.alertAccept().then(callback);

Parameters

Param Type Details

Example

alertAccept.js
1
2
3
4
5
6
// accept a dialog box if is opened
client.alertText( function( err, res ) {
if ( res != null ) {
this.alertAccept()
}
});