public class And extends Condition
| Constructor and Description |
|---|
And(java.lang.String name,
java.util.List<Condition> conditions) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
actualValue(Driver driver,
WebElement element)
If element didn't match the condition, returns the actual value of element.
|
boolean |
apply(Driver driver,
WebElement element)
Check if given element matches this condition.
|
java.lang.String |
toString() |
and, applyNull, attribute, attribute, attributeMatching, be, because, cssClass, cssValue, exactOwnText, exactText, exactTextCaseSensitive, exactValue, getName, have, href, id, match, matchesText, matchText, missingElementSatisfiesCondition, name, negate, not, or, ownText, pseudo, pseudo, selectedText, text, textCaseSensitive, type, valuepublic And(java.lang.String name,
java.util.List<Condition> conditions)
public boolean apply(Driver driver, WebElement element)
Conditionpublic java.lang.String actualValue(Driver driver, WebElement element)
ConditionactualValue in class Conditiondriver - given driverelement - given WebElement