code: @Override
      public void promptMatches(String expectedPromptPattern) {
          String prompt = checkPromptMatches(expectedPromptPattern, 0, 0);
          assertTrue("Prompt Text Mismatch: prompt text of '" + prompt + DOES_NOT_MATCH_PATTERN + expectedPromptPattern + "'", prompt.matches(expectedPromptPattern));
      }
docs: Asserts that a prompt present on the page has content matching the
  expected text. This information will be logged and recorded, with a
  screenshot for traceability and added debugging support.
  
  @param expectedPromptPattern the expected text of the prompt