com.vaadin.flow.component.common.testbench.

Interface HasSelectByText

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      String getSelectedText()

      Gets the text of the currently selected option.

      void selectByText(String text)

      Selects the first option matching the given text.

    • Method Detail

      • selectByText

        void selectByText(String text)

        Selects the first option matching the given text.

        Parameters:

        text - the text of the option to select

      • getSelectedText

        String getSelectedText()

        Gets the text of the currently selected option.

        Returns:

        the text of the current option