Class ExplainedCondition<T extends WebElementCondition>
java.lang.Object
com.codeborne.selenide.WebElementCondition
com.codeborne.selenide.conditions.ExplainedCondition<T>
@ParametersAreNonnullByDefault
public class ExplainedCondition<T extends WebElementCondition>
extends WebElementCondition
-
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, or
-
Constructor Details
-
ExplainedCondition
-
-
Method Details
-
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).
-
negate
- Overrides:
negate
in classWebElementCondition
-
toString
- Overrides:
toString
in classWebElementCondition
-