Class TextAreaLocator

java.lang.Object
com.vaadin.browserless.locator.Locator<TextArea,TextAreaLocator>
com.vaadin.flow.component.textfield.TextAreaLocator
All Implemented Interfaces:
Clickable<TextArea>, HasAriaLabelFilter<TextArea,TextAreaLocator>, HasLabelFilter<TextArea,TextAreaLocator>, HasThemeFilter<TextArea,TextAreaLocator>, HasValueFilter<TextArea,String,TextAreaLocator>

Generated locator for TextArea, derived from TextAreaTester. Filter steps are inherited from Locator; action methods delegate to a fresh tester around the resolved component, so behavioral changes belong on the tester, not here.
  • Constructor Details

    • TextAreaLocator

      public TextAreaLocator()
    • TextAreaLocator

      public TextAreaLocator(TextArea component)
  • Method Details

    • getComponent

      public TextArea getComponent()
      Description copied from interface: Clickable
      Gets the component being tested.
      Specified by:
      getComponent in interface Clickable<TextArea>
      Returns:
      the component under test
    • ensureComponentIsUsable

      public void ensureComponentIsUsable()
      Description copied from interface: Clickable
      Ensures the component is in a usable state before interaction.
      Specified by:
      ensureComponentIsUsable in interface Clickable<TextArea>
    • setValue

      public void setValue(String value)
      Set the value to the component if it is usable. For a non interactable component an IllegalStateException will be thrown as the end user would not be able to set a value. Javadoc copied from TextAreaTester.setValue(java.lang.String).
      Parameters:
      value - value to set