Class SelectElement.ItemElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.select.testbench.SelectElement.ItemElement
All Implemented Interfaces:
CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement
Enclosing class:
SelectElement

public static class SelectElement.ItemElement extends TestBenchElement
  • Constructor Details

    • ItemElement

      public ItemElement()
  • Method Details

    • getText

      public String getText()
      Gets the text content of the item. The text is available while the popup is closed.
      Specified by:
      getText in interface org.openqa.selenium.WebElement
      Overrides:
      getText in class TestBenchElement
      Returns:
      the text content of the item, trimmed