code: public static void waitUntilElementIsInvisible(final String elementLocator) {
          logger.entering(elementLocator);
          By by = HtmlElementUtils.resolveByType(elementLocator);
          ExpectedCondition<Boolean> condition = ExpectedConditions.invisibilityOfElementLocated(by);
          waitForCondition(condition);
          logger.exiting();
      }
docs: Waits until element is either invisible or not present on the DOM.
  
  @param elementLocator
  identifier of element to be found