Class CascadeSelect

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

public abstract class CascadeSelect extends AbstractInputComponent
Component wrapper for the PrimeFaces p:cascadeSelect.
  • Constructor Details

    • CascadeSelect

      public CascadeSelect()
  • Method Details

    • isItemSelectAjaxified

      public boolean isItemSelectAjaxified()
      Is the input using AJAX "itemSelect" event?
      Returns:
      true if using AJAX for itemSelect
    • toggleDropdown

      public void toggleDropdown()
      Either display the dropdown or select the item it if is already displayed.
    • show

      public void show()
      Shows the CascadeSelect panel.
    • hide

      public void hide()
      Hides the CascadeSelect panel.
    • select

      public void select(String label)
    • getSelectedLabel

      public String getSelectedLabel()
    • isSelected

      public boolean isSelected(String label)
    • getLabels

      public List<String> getLabels()
    • getValues

      public List<String> getValues()
    • getInput

      public org.openqa.selenium.WebElement getInput()
      Description copied from class: AbstractInputComponent
      The input element reference.
      Overrides:
      getInput in class AbstractInputComponent
      Returns:
      the WebElement representing the input.
    • getLabel

      public org.openqa.selenium.WebElement getLabel()
    • getItems

      public List<org.openqa.selenium.WebElement> getItems()
    • getLeafItems

      public List<org.openqa.selenium.WebElement> getLeafItems()
    • getPanel

      public org.openqa.selenium.WebElement getPanel()
    • click

      protected void click(org.openqa.selenium.WebElement element)