code: public void acceptConfirmation() {
          String action = "Clicking 'OK' on a confirmation";
          String expected = "Confirmation is present to be clicked";
          if (isNotConfirmation(action, expected)) {
              return;
          }
          accept(action, expected, "confirmation");
      }
docs: Accept (click 'OK' on) a confirmation box