code: public String value() {
          if (!element.is().present() || !element.is().input()) {
              return null;
          }
          WebElement webElement = element.getWebElement();
          return webElement.getAttribute(VALUE);
      }
docs: Retrieves the value of the element. If the element isn't present, or
  isn't an input, a null value will be returned.
  
  @return String: the text of the element