public void setWidgetValue(Serializable value) {
        PrimeSelenium.executeScript(getWidgetByIdScript() + ".setValue('" + value + "');");
        boolean isAjaxified = isOnchangeAjaxified();
        if (isAjaxified) {
            PrimeSelenium.executeScript(isAjaxified, getWidgetByIdScript() + ".jq.trigger('change');");
        }
    }
Client side widget method to set the current value.

@param value the value to set the input to
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/InputMask.java