Class AccordionPanel

  • All Implemented Interfaces:
    org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

    public abstract class AccordionPanel
    extends AbstractComponent
    Component wrapper for the PrimeFaces p:accordionPanel.
    • Constructor Detail

      • AccordionPanel

        public AccordionPanel()
    • Method Detail

      • getHeaders

        public List<org.openqa.selenium.WebElement> getHeaders()
      • getContents

        public List<org.openqa.selenium.WebElement> getContents()
      • getTabs

        public List<Tab> getTabs()
        Gets the accordion tabs.
        Returns:
        the list of tabs
      • toggleTab

        public void toggleTab​(int index)
        Toggle the tab denoted by the specified index.
        Parameters:
        index - the index of the tab to expand
      • getSelectedTabs

        public List<Tab> getSelectedTabs()
        Provides the selected AccordionPanel tab(s).
        Returns:
        the selected tab(s)