docs: public static <T> ExpectedCondition<T> refreshed(final ExpectedCondition<T> condition) {
      return new ExpectedCondition<T>() {
        @Override
        public T apply(WebDriver driver) {
          try {
            return condition.apply(driver);
          } catch (StaleElementReferenceException e) {
            return null;
          }
        }
  
        @Override
        public String toString() {
          return String.format("condition (%s) to be refreshed", condition);
        }
      };
    }