com.vaadin.flow.component.datepicker.testbench.

Class DatePickerElement.MonthCalendarElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.datepicker.testbench.DatePickerElement.MonthCalendarElement

All Implemented Interfaces:

CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

Enclosing class:

DatePickerElement

public static class DatePickerElement.MonthCalendarElement extends TestBenchElement
  • Constructor Details

    • MonthCalendarElement

      public MonthCalendarElement()
  • Method Details

    • getHeaderText

      public String getHeaderText()

      Gets the header text of the month calendar, e.g. `January 1999`

      Returns:

    • getWeekdays

      public List<DatePickerElement.WeekdayElement> getWeekdays()

      Gets the weekday headers that are rendered by the month calendar

      Returns: