Class H2Locator

java.lang.Object
com.vaadin.browserless.locator.Locator<H2,H2Locator>
com.vaadin.flow.component.html.H2Locator
All Implemented Interfaces:
Clickable<H2>, HasTextFilter<H2,H2Locator>

@Generated("com.vaadin.browserless.locator.processor.LocatorProcessor") public class H2Locator extends Locator<H2,H2Locator> implements Clickable<H2>, HasTextFilter<H2,H2Locator>
Generated locator for H2, derived from H2Tester. 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

    • H2Locator

      public H2Locator()
      Creates a locator that searches for a H2.
    • H2Locator

      public H2Locator(H2 component)
      Creates a locator already bound to the given component, so that the action methods run against it instead of against a lookup.
      Parameters:
      component - the component the locator resolves to
  • Method Details