Class AttributeWithValue
java.lang.Object
com.codeborne.selenide.Condition
com.codeborne.selenide.conditions.AttributeWithValue
- Direct Known Subclasses:
Href
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCheck if given element matches this conditionprotected StringgetAttributeValue(org.openqa.selenium.WebElement element) Methods inherited from class com.codeborne.selenide.Condition
actualValue, and, apply, attribute, attribute, attributeMatching, be, because, cssClass, cssValue, exactOwnText, exactOwnTextCaseSensitive, exactText, exactTextCaseSensitive, exactValue, getName, have, href, id, match, matchText, missingElementSatisfiesCondition, name, negate, not, or, ownText, ownTextCaseSensitive, pseudo, pseudo, selectedText, text, textCaseSensitive, toString, type, value
-
Field Details
-
expectedAttributeValue
-
-
Constructor Details
-
AttributeWithValue
-
-
Method Details
-
check
Description copied from class:ConditionCheck if given element matches this condition- Overrides:
checkin classCondition- Parameters:
driver- selenide driverelement- given WebElement- Returns:
CheckResult.Verdict.ACCEPTif element matches condition, orCheckResult.Verdict.REJECTif element doesn't match (and we should keep trying until timeout).
-
getAttributeValue
-