code: public void clear() {
          String cantClear = "Unable to clear ";
          String action = "Clearing text in " + prettyOutput();
          String expected = prettyOutputStart() + " is present, displayed, and enabled to have text cleared";
          try {
              if (isNotPresentDisplayedEnabledInput(action, expected, cantClear)) {
                  return;
              }
              WebElement webElement = getWebElement();
              webElement.clear();
          } catch (Exception e) {
              log.warn(e);
              reporter.fail(action, expected, cantClear + prettyOutputEnd() + e.getMessage());
              return;
          }
          reporter.pass(action, expected, "Cleared text in " + prettyOutputEnd().trim());
      }
docs: Clears text from the element, but only if the element is present,
  displayed, enabled, and an input. If those conditions are not met, the
  clear action will be logged, but skipped and the test will continue.