function ActionHandler(actionBlock, wait, dontCheckAlerts) {
    this.actionBlock = actionBlock;
    CommandHandler.call(this, "action", true);
    if (wait) {
        this.wait = true;
    }
    // note that dontCheckAlerts could be undefined!!!
    this.checkAlerts = (dontCheckAlerts) ? false : true;
}
function ActionHandler(actionBlock, wait, dontCheckAlerts) {
    this.actionBlock = actionBlock;
    CommandHandler.call(this, "action", true);
    if (wait) {
        this.wait = true;
    }
    // note that dontCheckAlerts could be undefined!!!
    this.checkAlerts = (dontCheckAlerts) ? false : true;
}
function ActionHandler ( actionBlock , wait , dontCheckAlerts ) { this . actionBlock = actionBlock ; CommandHandler . call ( this , "action" , true ) ; if ( wait ) { this . wait = true ; } // note that dontCheckAlerts could be undefined!!! this . checkAlerts = ( dontCheckAlerts ) ? false : true ; }
An ActionHandler is a command handler that executes the sepcified action, possibly checking for alerts and confirmations (if checkAlerts is set), and possibly waiting for a page load if wait is set.
An ActionHandler is a command handler that executes the sepcified action possibly checking for alerts and confirmations ( if checkAlerts is set ) and possibly waiting for a page load if wait is set .
The action handler is a wrapper around CommandHandler