docs: public static ExpectedCondition<WebElement> visibilityOf(final WebElement element) {
      return new ExpectedCondition<WebElement>() {
        @Override
        public WebElement apply(WebDriver driver) {
          return elementIfVisible(element);
        }
  
        @Override
        public String toString() {
          return "visibility of " + element;
        }
      };
    }