public List<Tab> getSelectedTabs() {
        return getTabs().stream()
                    .filter(tab -> tab.getHeader().getDomAttribute("class").contains("ui-state-active"))
                    .collect(Collectors.toList());
    }
Provides the selected {@link AccordionPanel} tab(s).

@return the selected tab(s)
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/AccordionPanel.java