Class AnchorLocator

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

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

    • AnchorLocator

      public AnchorLocator()
      Creates a locator that searches for a Anchor.
    • AnchorLocator

      public AnchorLocator(Anchor 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