@ParametersAreNonnullByDefault public class NamedCondition extends Condition
| Constructor and Description |
|---|
NamedCondition(java.lang.String prefix,
Condition delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
actualValue(Driver driver,
org.openqa.selenium.WebElement element)
If element didn't match the condition, returns the actual value of element.
|
boolean |
apply(Driver driver,
org.openqa.selenium.WebElement element)
Check if given element matches this condition.
|
Condition |
negate() |
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, not, or, ownText, pseudo, pseudo, selectedText, text, textCaseSensitive, type, valuepublic NamedCondition(java.lang.String prefix,
Condition delegate)
public boolean apply(Driver driver, org.openqa.selenium.WebElement element)
Conditionpublic java.lang.String actualValue(Driver driver, org.openqa.selenium.WebElement element)
ConditionactualValue in class Conditiondriver - given driverelement - given WebElement