Class Href
- java.lang.Object
-
- com.codeborne.selenide.Condition
-
- com.codeborne.selenide.conditions.AttributeWithValue
-
- com.codeborne.selenide.conditions.Href
-
@ParametersAreNonnullByDefault public class Href extends AttributeWithValue
-
-
Field Summary
-
Fields inherited from class com.codeborne.selenide.conditions.AttributeWithValue
expectedAttributeValue
-
-
Constructor Summary
Constructors Constructor Description Href(java.lang.String expectedAttributeValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(Driver driver, org.openqa.selenium.WebElement element)Check if given element matches this condition.-
Methods inherited from class com.codeborne.selenide.conditions.AttributeWithValue
actualValue, getAttributeValue, toString
-
Methods inherited from class com.codeborne.selenide.Condition
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
-
-
-
-
Method Detail
-
apply
@CheckReturnValue public boolean apply(Driver driver, org.openqa.selenium.WebElement element)
Description copied from class:ConditionCheck if given element matches this condition.- Overrides:
applyin classAttributeWithValueelement- given WebElement- Returns:
- true if element matches condition
-
-