code: public void confirmationEquals(double seconds, String expectedConfirmationText) {
          try {
              double timeTook = popup(seconds);
              timeTook = popupEquals(seconds - timeTook, expectedConfirmationText);
              checkConfirmationEquals(expectedConfirmationText, seconds, timeTook);
          } catch (TimeoutException e) {
              checkConfirmationEquals(expectedConfirmationText, seconds, seconds);
          }
      }
docs: Waits up to the provided wait time for a confirmation present on the page has content equal to the
  expected text. This information will be logged and recorded, with a
  screenshot for traceability and added debugging support.
  
  @param expectedConfirmationText the expected text of the confirmation
  @param seconds                  the number of seconds to wait