public void setValue(Number value) {
        PrimeSelenium.executeScript(isRatingAjaxified(), getWidgetByIdScript() + ".setValue(" + value + ");");
    }
Sets the rating to the given value.

@param value New rating value to set (number of starts selected).
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/Rating.java