@Override
    public void setValue(Serializable value) {
        if (value == null) {
            value = "\"\"";
        }

        PrimeSelenium.executeScript(getWidgetByIdScript() + ".setValue(" + value.toString() + ")");
        PrimeSelenium.executeScript(isOnchangeAjaxified(), getWidgetByIdScript() + ".input.trigger('change')");
    }
Component wrapper for the PrimeFaces {@code p:inputNumber}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/InputNumber.java