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