Class DateTimeConditions

java.lang.Object
com.codeborne.selenide.conditions.datetime.DateTimeConditions

public class DateTimeConditions extends Object
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"));