public class ListSize extends CollectionCondition
| Modifier and Type | Field and Description |
|---|---|
protected int |
expectedSize |
empty| Constructor and Description |
|---|
ListSize(int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(java.util.List<org.openqa.selenium.WebElement> elements) |
void |
fail(WebElementsCollection collection,
java.util.List<org.openqa.selenium.WebElement> elements,
long timeoutMs) |
exactTexts, size, textspublic boolean apply(java.util.List<org.openqa.selenium.WebElement> elements)
public void fail(WebElementsCollection collection, java.util.List<org.openqa.selenium.WebElement> elements, long timeoutMs)
fail in class CollectionCondition