public static void setHiddenInput(WebElement input, String value) {
        executeScript(" document.getElementById('" + input.getDomAttribute("id") + "').value='" + value + "'");
    }
Sets a value to a hidden input.

@param input the WebElement input to set
@param value the value to set
@see <a href="https://stackoverflow.com/questions/11858366/how-to-type-some-text-in-hidden-field-in-selenium-webdriver-using-java">Stack Overflow</a>
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java