Class TextCondition
java.lang.Object
com.codeborne.selenide.WebElementCondition
com.codeborne.selenide.conditions.TextCondition
- Direct Known Subclasses:
CaseSensitiveText
,ExactOwnText
,ExactOwnTextCaseSensitive
,ExactText
,ExactTextCaseSensitive
,InnerText
,MatchText
,OneOfExactTexts
,OneOfExactTextsCaseSensitive
,OneOfTexts
,OneOfTextsCaseSensitive
,OwnText
,OwnTextCaseSensitive
,PartialText
,PartialTextCaseSensitive
,SelectedText
,Text
-
Field Summary
Fields inherited from class com.codeborne.selenide.WebElementCondition
missingElementSatisfiesCondition, name
-
Constructor Summary
-
Method Summary
Methods inherited from class com.codeborne.selenide.WebElementCondition
because, getName, missingElementSatisfiesCondition, negate, or
-
Constructor Details
-
TextCondition
-
-
Method Details
-
match
-
match
-
getText
-
check
@Nonnull @CheckReturnValue public CheckResult check(Driver driver, org.openqa.selenium.WebElement element) Description copied from class:WebElementCondition
Check if given element matches this condition- Specified by:
check
in classWebElementCondition
- Parameters:
driver
- selenide driverelement
- given WebElement- Returns:
CheckResult.Verdict.ACCEPT
if element matches condition, orCheckResult.Verdict.REJECT
if element doesn't match (and we should keep trying until timeout).
-
toString
- Overrides:
toString
in classWebElementCondition
-