@ParametersAreNonnullByDefault public class ExactTexts extends CollectionCondition
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
expectedTexts |
empty, explanation| Constructor and Description |
|---|
ExactTexts(java.util.List<java.lang.String> expectedTexts) |
ExactTexts(java.lang.String... expectedTexts) |
| 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) |
boolean |
test(java.util.List<org.openqa.selenium.WebElement> elements) |
java.lang.String |
toString() |
allMatch, anyMatch, because, containExactTextsCaseSensitive, containExactTextsCaseSensitive, exactTexts, exactTexts, exactTextsCaseSensitiveInAnyOrder, exactTextsCaseSensitiveInAnyOrder, itemWithText, noneMatch, size, sizeGreaterThan, sizeGreaterThanOrEqual, sizeLessThan, sizeLessThanOrEqual, sizeNotEqual, texts, texts, textsInAnyOrder, textsInAnyOrderpublic ExactTexts(java.lang.String... expectedTexts)
public ExactTexts(java.util.List<java.lang.String> expectedTexts)
@CheckReturnValue public boolean test(java.util.List<org.openqa.selenium.WebElement> elements)
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