Class SpanLocator

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

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

    • SpanLocator

      public SpanLocator()
      Creates a locator that searches for a Span.
    • SpanLocator

      public SpanLocator(Span 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