All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geb.textmatching.AllTextMatcher Maven / Gradle / Ivy

Go to download

Geb (pronounced "jeb") is a browser automation solution. It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language.

The newest version!
package geb.textmatching;

import java.util.Arrays;

class AllTextMatcher extends CompositeTextMatcher {

    public AllTextMatcher(TextMatcher[] matchers) {
        super(matchers);
    }

    @Override
    public boolean matches(String text) {
        return Arrays.stream(matchers).allMatch(m -> m.matches(text));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy