code: public void promptPresent(double seconds) {
          try {
              double timeTook = popup(seconds);
              checkPromptPresent(seconds, timeTook);
          } catch (TimeoutException e) {
              checkPromptPresent(seconds, seconds);
          }
      }
docs: Waits up to the provided wait time for a prompt is present on the page. This information will be
  logged and recorded, with a screenshot for traceability and added
  debugging support.
  
  @param seconds the number of seconds to wait