public class EachElementConditions extends AbstractFluentListConditions
| Constructor and Description |
|---|
EachElementConditions(List<? extends FluentWebElement> elements)
Creates a new element list conditions.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Predicate<FluentDriver> |
buildEachElementPredicate(com.google.common.base.Predicate<FluentWebElement> predicate,
boolean defaultValue)
Build predicate for this condition.
|
EachElementConditions |
not()
Negates this condition object.
|
boolean |
verify(com.google.common.base.Predicate<FluentWebElement> predicate,
boolean defaultValue)
Check that the given predicate is verified.
|
attribute, attribute, clickable, displayed, enabled, getActualElements, getElements, id, id, isNegation, name, name, present, rectangle, selected, setNegation, size, size, stale, tagName, tagName, text, text, textContent, textContent, value, value, verifypublic EachElementConditions(List<? extends FluentWebElement> elements)
elements - underlying elementspublic EachElementConditions not()
FluentListConditionspublic boolean verify(com.google.common.base.Predicate<FluentWebElement> predicate, boolean defaultValue)
FluentListConditionspredicate - predicate to checkdefaultValue - default value if input is not presentprotected com.google.common.base.Predicate<FluentDriver> buildEachElementPredicate(com.google.common.base.Predicate<FluentWebElement> predicate, boolean defaultValue)
predicate - predicatedefaultValue - default value if elements list is empty.Copyright © 2016 FluentLenium. All Rights Reserved.