public void toggle() {
        PrimeSelenium.executeScript(isToggleAjaxified(), getWidgetByIdScript() + ".toggle();");
    }
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/Panel.java