public String getWidgetDate() {
        return PrimeSelenium.executeScript("return " + getWidgetByIdScript() + ".getDate();");
    }
Gets the JS date value from the widget.

@return the JS date value or null
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/Calendar.java