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 String
getAttributeValue
(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, innerText, match, matchText, missingElementSatisfiesCondition, name, negate, not, or, ownText, ownTextCaseSensitive, partialText, partialTextCaseSensitive, partialValue, pseudo, pseudo, selectedText, tagName, text, textCaseSensitive, toString, type, value
-
Field Details
-
expectedAttributeValue
-
-
Constructor Details
-
AttributeWithValue
-
-
Method Details
-
check
Description copied from class:Condition
Check if given element matches this condition- Overrides:
check
in classCondition
- 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).
-
getAttributeValue
-