Class SelectOneRadio

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

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

      • SelectOneRadio

        public SelectOneRadio()
    • Method Detail

      • getRadioButtons

        public List<org.openqa.selenium.WebElement> getRadioButtons()
      • getRadioButton

        public org.openqa.selenium.WebElement getRadioButton​(int index)
      • getRadioButtonBox

        public org.openqa.selenium.WebElement getRadioButtonBox​(int index)
      • select

        public void select​(int index)
      • select

        public void select​(String text)
      • getSelectedIndex

        public int getSelectedIndex()
      • getSelectedLabel

        public String getSelectedLabel()
      • getLabel

        public String getLabel​(int index)
      • getItemsSize

        public int getItemsSize()
      • disable

        public void disable()
        Disables the entire component.
      • enable

        public void enable()
        Enables the entire component
      • disableOption

        public void disableOption​(int index)
        Disables a given radio button option of this widget.
        Parameters:
        index - Index of the radio button option to disable.
      • enableOption

        public void enableOption​(int index)
        Enables a given radio button option of this widget.
        Parameters:
        index - Index of the radio button option to enable.