Class SelectOneMenu

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

public abstract class SelectOneMenu extends AbstractInputComponent
Component wrapper for the Faces h:selectOneMenu.
  • Constructor Details

    • SelectOneMenu

      public SelectOneMenu()
  • Method Details

    • deselect

      public void deselect(String label)
    • select

      public void select(String label)
    • getSelectedLabel

      public String getSelectedLabel()
    • isSelected

      public boolean isSelected(String label)
    • getLabels

      public List<String> getLabels()
      All labels.
      Returns:
    • getOptions

      public List<org.openqa.selenium.WebElement> getOptions()
    • select

      public void select(int index)
    • deselect

      public void deselect(int index)
    • isSelected

      public boolean isSelected(int index)
    • getLabel

      public String getLabel(int index)
    • 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.