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