com.vaadin.flow.component.radiobutton.testbench.

Class RadioButtonGroupElement

    • Constructor Detail

      • RadioButtonGroupElement

        public RadioButtonGroupElement()
    • Method Detail

      • getOptions

        public List<String> getOptions()

        Gets a list of all available options.

        Returns:

        a list of the options (visible text)

      • selectByText

        public void selectByText(String text)

        Description copied from interface: HasSelectByText

        Selects the first option matching the given text.

        Specified by:

        selectByText in interface HasSelectByText

        Parameters:

        text - the text of the option to select