code: public void notPresent(double seconds) {
          double end = System.currentTimeMillis() + (seconds * 1000);
          try {
              WebDriverWait wait = new WebDriverWait(element.getDriver(), (long) seconds, DEFAULT_POLLING_INTERVAL);
              wait.until(ExpectedConditions.not(ExpectedConditions.presenceOfAllElementsLocatedBy(element.defineByElement())));
              double timeTook = Math.min((seconds * 1000) - (end - System.currentTimeMillis()), seconds * 1000) / 1000;
              checkNotPresent(seconds, timeTook);
          } catch (TimeoutException e) {
              checkNotPresent(seconds, seconds);
          }
      }
docs: Waits for the element to not be present. The provided wait time will be used
  and if the element isn't present after that time, it will fail, and log
  the issue with a screenshot for traceability and added debugging support.
  
  @param seconds - how many seconds to wait for