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