code: @Override
      public void cookieMatches(String cookieName, String expectedCookiePattern) {
          String cookie = checkCookieMatches(cookieName, expectedCookiePattern, 0, 0);
          assertTrue("Cookie Value Mismatch: cookie value of '" + cookie + DOES_NOT_MATCH_PATTERN + expectedCookiePattern + "'", cookie.matches(expectedCookiePattern));
      }
docs: Asserts that a cookies with the provided name has a value matching the
  expected pattern. This information will be logged and recorded, with a
  screenshot for traceability and added debugging support.
  
  @param cookieName            the name of the cookie
  @param expectedCookiePattern the expected value of the cookie