@ParametersAreNonnullByDefault public abstract class PredicateCollectionCondition extends CollectionCondition
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.lang.String |
matcher |
protected java.util.function.Predicate<org.openqa.selenium.WebElement> |
predicate |
empty, explanation| Modifier | Constructor and Description |
|---|---|
protected |
PredicateCollectionCondition(java.lang.String matcher,
java.lang.String description,
java.util.function.Predicate<org.openqa.selenium.WebElement> predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyNull() |
void |
fail(CollectionSource collection,
java.util.List<org.openqa.selenium.WebElement> elements,
java.lang.Exception lastError,
long timeoutMs) |
java.lang.String |
toString() |
allMatch, anyMatch, because, exactTexts, exactTexts, exactTextsCaseSensitiveInAnyOrder, exactTextsCaseSensitiveInAnyOrder, itemWithText, noneMatch, size, sizeGreaterThan, sizeGreaterThanOrEqual, sizeLessThan, sizeLessThanOrEqual, sizeNotEqual, texts, texts, textsInAnyOrder, textsInAnyOrderprotected final java.lang.String matcher
protected final java.lang.String description
protected final java.util.function.Predicate<org.openqa.selenium.WebElement> predicate
protected PredicateCollectionCondition(java.lang.String matcher,
java.lang.String description,
java.util.function.Predicate<org.openqa.selenium.WebElement> predicate)
public void fail(CollectionSource collection, @Nullable java.util.List<org.openqa.selenium.WebElement> elements, @Nullable java.lang.Exception lastError, long timeoutMs)
fail in class CollectionConditionpublic boolean applyNull()
applyNull in class CollectionConditionpublic java.lang.String toString()
toString in class java.lang.Object