Class Enabled
- java.lang.Object
-
- com.codeborne.selenide.Condition
-
- com.codeborne.selenide.conditions.Enabled
-
public class Enabled extends Condition
-
-
Constructor Summary
Constructors Constructor Description Enabled()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringactualValue(Driver driver, org.openqa.selenium.WebElement element)If element didn't match the condition, returns the actual value of element.booleanapply(Driver driver, org.openqa.selenium.WebElement element)Check if given element matches this condition.-
Methods inherited from class com.codeborne.selenide.Condition
and, applyNull, attribute, attribute, be, because, cssClass, cssValue, exactText, exactTextCaseSensitive, exactValue, getName, have, id, match, matchesText, matchText, missingElementSatisfiesCondition, name, not, or, pseudo, pseudo, selectedText, text, textCaseSensitive, toString, type, value
-
-
-
-
Method Detail
-
apply
public boolean apply(Driver driver, org.openqa.selenium.WebElement element)
Description copied from class:ConditionCheck if given element matches this condition.
-
actualValue
public java.lang.String actualValue(Driver driver, org.openqa.selenium.WebElement element)
Description copied from class:ConditionIf element didn't match the condition, returns the actual value of element. Used in error reporting. Optional. Makes sense only if you need to add some additional important info to error message.- Overrides:
actualValuein classConditionelement- given WebElement- Returns:
- any string that needs to be appended to error message.
-
-