public void setValue(Serializable value) {
        boolean ajaxified = isOnchangeAjaxified();
        String oldValue = getValue();
        if (oldValue != null && oldValue.length() > 0) {
            if (ajaxified) {
                PrimeSelenium.guardAjax(getInput()).clear();
            }
            else {
                getInput().clear();
            }
        }

        ComponentUtils.sendKeys(getInput(), value.toString());

        if (ajaxified) {
            PrimeSelenium.guardAjax(getInput()).sendKeys(Keys.TAB);
        }
        else {
            getInput().sendKeys(Keys.TAB);
        }
    }
Component wrapper for the PrimeFaces {@code p:inputText}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/InputText.java