code: public void alertNotPresent(double seconds) {
          try {
              double timeTook = noPopup(seconds);
              checkAlertNotPresent(seconds, timeTook);
          } catch (TimeoutException e) {
              checkAlertNotPresent(seconds, seconds);
          }
      }
docs: Waits up to the provided wait time for an alert is not 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