Class NoneMatch
- java.lang.Object
-
- com.codeborne.selenide.CollectionCondition
-
- com.codeborne.selenide.collections.NoneMatch
-
- All Implemented Interfaces:
com.google.common.base.Predicate<java.util.List<org.openqa.selenium.WebElement>>,java.util.function.Predicate<java.util.List<org.openqa.selenium.WebElement>>
public class NoneMatch extends CollectionCondition
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected java.util.function.Predicate<org.openqa.selenium.WebElement>predicate-
Fields inherited from class com.codeborne.selenide.CollectionCondition
empty, explanation
-
-
Constructor Summary
Constructors Constructor Description NoneMatch(java.lang.String description, java.util.function.Predicate<org.openqa.selenium.WebElement> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(java.util.List<org.openqa.selenium.WebElement> elements)booleanapplyNull()voidfail(WebElementsCollection collection, java.util.List<org.openqa.selenium.WebElement> elements, java.lang.Exception lastError, long timeoutMs)java.lang.StringtoString()-
Methods inherited from class com.codeborne.selenide.CollectionCondition
allMatch, anyMatch, because, exactTexts, exactTexts, noneMatch, size, sizeGreaterThan, sizeGreaterThanOrEqual, sizeLessThan, sizeLessThanOrEqual, sizeNotEqual, texts, texts, textsInAnyOrder, textsInAnyOrder
-
-
-
-
Method Detail
-
apply
public boolean apply(java.util.List<org.openqa.selenium.WebElement> elements)
-
fail
public void fail(WebElementsCollection collection, java.util.List<org.openqa.selenium.WebElement> elements, java.lang.Exception lastError, long timeoutMs)
- Specified by:
failin classCollectionCondition
-
applyNull
public boolean applyNull()
- Specified by:
applyNullin classCollectionCondition
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-