docs: public static Condition attribute(final String attributeName) {
      return new Condition("attribute") {
        @Override
        public boolean apply(Driver driver, WebElement element) {
          return element.getAttribute(attributeName) != null;
        }
  
        @Override
        public String toString() {
          return name + " " + attributeName;
        }
      };
    }