Class NativeButtonLocator

All Implemented Interfaces:
Clickable<NativeButton>, HasAriaLabelFilter<NativeButton,NativeButtonLocator>, HasTextFilter<NativeButton,NativeButtonLocator>

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

    • NativeButtonLocator

      public NativeButtonLocator()
      Creates a locator that searches for a NativeButton.
    • NativeButtonLocator

      public NativeButtonLocator(NativeButton 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