public void hidePanel(boolean revert) {
        if (isEnabled()) {
            if (getPanel().isDisplayed()) {
                PrimeSelenium.executeScript(isCloseAjaxified(), getWidgetByIdScript() + ".hide(" + Boolean.toString(revert) + ");");
            }
            PrimeSelenium.waitGui().until(PrimeExpectedConditions.invisibleAndAnimationComplete(getPanel()));
        }
    }
Hides the overlay panel.
@param revert true to revert to the default color
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/ColorPicker.java