Class SizeGreaterThan
- java.lang.Object
-
- com.codeborne.selenide.CollectionCondition
-
- com.codeborne.selenide.collections.SizeGreaterThan
-
- 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 SizeGreaterThan extends CollectionCondition
-
-
Field Summary
Fields Modifier and Type Field Description protected intexpectedSize-
Fields inherited from class com.codeborne.selenide.CollectionCondition
empty, explanation
-
-
Constructor Summary
Constructors Constructor Description SizeGreaterThan(int expectedSize)
-
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
because, exactTexts, exactTexts, 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
-
-