Class CustomFieldElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.customfield.testbench.CustomFieldElement
All Implemented Interfaces:
CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasHelper, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class CustomFieldElement extends TestBenchElement implements HasHelper
  • Constructor Details

    • CustomFieldElement

      public CustomFieldElement()
  • Method Details

    • getLabel

      public String getLabel()
    • getErrorMessage

      public String getErrorMessage()
    • getHelperComponent

      public TestBenchElement getHelperComponent()
      Gets the slotted helper component for the element.
      Specified by:
      getHelperComponent in interface HasHelper
      Returns:
      the slotted component or null if there is no component