Package com.vaadin.browserless.locator
Interface HasTextFilter
-
- All Implemented Interfaces:
public interface HasTextFilter<C extends Component, HasText, SELF extends Locator<C, SELF>>Mixin for Locators whose target component implements HasText. Exposes text-based filter methods that would be meaningless on components without textual content, turning a call like
findTextField().withText("foo")(TextFieldis com.vaadin.flow.component.HasValue/com.vaadin.flow.component.HasLabel, notHasText) into a compile error rather than a silent no-op.- Since:
1.1