Class TemporalCondition<T extends TemporalAccessor>
java.lang.Object
com.codeborne.selenide.WebElementCondition
com.codeborne.selenide.conditions.datetime.TemporalCondition<T>
@ParametersAreNonnullByDefault
public abstract class TemporalCondition<T extends TemporalAccessor>
extends WebElementCondition
-
Field Summary
Fields inherited from class com.codeborne.selenide.WebElementCondition
missingElementSatisfiesCondition, name
-
Constructor Summary
ModifierConstructorDescriptionprotected
TemporalCondition
(String name, TemporalFormatCondition<T> format) -
Method Summary
Methods inherited from class com.codeborne.selenide.WebElementCondition
because, getName, missingElementSatisfiesCondition, negate, or, toString
-
Constructor Details
-
TemporalCondition
-
-
Method Details
-
matches
-
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).
-
format
-