Class RouterLinkLocator

java.lang.Object
com.vaadin.browserless.locator.Locator<RouterLink,RouterLinkLocator>
com.vaadin.flow.component.routerlink.RouterLinkLocator
All Implemented Interfaces:
Clickable<RouterLink>, HasTextFilter<RouterLink,RouterLinkLocator>

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

    • RouterLinkLocator

      public RouterLinkLocator()
      Creates a locator that searches for a RouterLink.
    • RouterLinkLocator

      public RouterLinkLocator(RouterLink 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