@ParametersAreNonnullByDefault public class SelectedText extends TextCondition
Constructor and Description |
---|
SelectedText(java.lang.String expectedText) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getText(Driver driver,
org.openqa.selenium.WebElement element) |
protected boolean |
match(java.lang.String actualText,
java.lang.String expectedText) |
check, toString
actualValue, and, apply, attribute, attribute, attributeMatching, be, because, cssClass, cssValue, exactOwnText, exactText, exactTextCaseSensitive, exactValue, getName, have, href, id, match, matchText, missingElementSatisfiesCondition, name, negate, not, or, ownText, pseudo, pseudo, selectedText, text, textCaseSensitive, type, value
protected boolean match(java.lang.String actualText, java.lang.String expectedText)
match
in class TextCondition
protected java.lang.String getText(Driver driver, org.openqa.selenium.WebElement element)
getText
in class TextCondition