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