Class SelectOneButton

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

    public abstract class SelectOneButton
    extends AbstractInputComponent
    Component wrapper for the PrimeFaces p:selectOneButton.
    • Constructor Detail

      • SelectOneButton

        public SelectOneButton()
    • Method Detail

      • getOptions

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

        public org.openqa.selenium.WebElement getActiveOption()
      • getOptionLabels

        public List<String> getOptionLabels()
      • getSelectedLabel

        public String getSelectedLabel()
      • isSelected

        public boolean isSelected​(String label)
      • isSelected

        public boolean isSelected​(int index)
      • selectNext

        public void selectNext()
      • select

        public void select​(String label)
      • select

        public void select​(int index)
      • selectFirst

        public void selectFirst()
      • selectLast

        public void selectLast()
      • deselect

        public void deselect​(String label)
      • deselect

        public void deselect​(String label,
                             boolean ignoreDeselectable)
      • deselect

        public void deselect​(int index)
      • deselect

        public void deselect​(int index,
                             boolean ignoreDeselectable)
      • isUnselectable

        public boolean isUnselectable()
      • click

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