code: @Override
      public void titleMatches(String expectedTitlePattern) {
          String title = checkTitleMatches(expectedTitlePattern, 0, 0);
          assertTrue("Title Mismatch: title of '" + title + DOES_NOT_MATCH_PATTERN + expectedTitlePattern + "'", title.matches(expectedTitlePattern));
      }
docs: Verifies the provided title matches the actual title of the current page
  the application is on. This information will be logged and recorded, with
  a screenshot for traceability and added debugging support.
  
  @param expectedTitlePattern the friendly name of the page