code: 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;
  }
docs: 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.