public void setValue(long millis) {
        if (PrimeSelenium.isSafari()) {
            // Safari not overwriting with command+a so use JS code
            setDate(millis);
        }
        else {
            String formattedDate = millisAsFormattedDate(millis);
            // Emulate user input instead of using js, calendar.setDate() can't go beyond mindate/maxdate

            // select everything
            selectAllText();

            // overwrite value
            if (isViewChangeAjaxified()) {
                PrimeSelenium.guardAjax(getInput()).sendKeys(formattedDate);
            }
            else {
                getInput().sendKeys(formattedDate);
            }

            // force change event
            if (isOnchangeAjaxified()) {
                PrimeSelenium.guardAjax(getInput()).sendKeys(Keys.TAB);
            }
            else {
                getInput().sendKeys(Keys.TAB);
            }
        }
    }
Is this component AJAX enabled with "close"?

@return true if AJAX enabled false if not
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/Calendar.java