Class DateConditions
java.lang.Object
com.codeborne.selenide.conditions.datetime.DateConditions
Assert that element contains "value" attribute with date value that is satisfied to the provided `options`
Samples:
$("input").shouldHave(date(LocalDate.of(2020, 11, 12)).format("dd/MM/yyyy"));
$("input").shouldHave(date(withFormat("dd/MM/yyyy")));
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemporalCondition<LocalDate>
static TemporalCondition<LocalDate>
static TemporalCondition<LocalDate>
dateBetween
(LocalDate from, LocalDate until) static TemporalCondition<LocalDate>
dateBetween
(LocalDate from, LocalDate until, String pattern) static TemporalFormatCondition<LocalDate>
dateFormat
(String pattern)
-
Constructor Details
-
DateConditions
public DateConditions()
-
-
Method Details
-
date
-
date
-
dateBetween
-
dateBetween
public static TemporalCondition<LocalDate> dateBetween(LocalDate from, LocalDate until, String pattern) -
dateFormat
-