@ParametersAreNonnullByDefault public class ExactOwnText extends Condition
Constructor and Description |
---|
ExactOwnText(java.lang.String expectedText) |
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.
|
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, value
public boolean apply(Driver driver, org.openqa.selenium.WebElement element)
Condition
@Nullable public java.lang.String actualValue(Driver driver, org.openqa.selenium.WebElement element)
Condition
actualValue
in class Condition
driver
- given driverelement
- given WebElement