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