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

Class DatePickerElement.OverlayContentElement

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

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.OverlayContentElement extends TestBenchElement
  • Constructor Details

    • OverlayContentElement

      public OverlayContentElement()
  • Method Details

    • getVisibleMonthCalendars

      public List<DatePickerElement.MonthCalendarElement> getVisibleMonthCalendars()

      Gets all visible month calendars that are currently rendered by the infinite scroller in the overlay.

      Returns:

    • getTodayButton

      public ButtonElement getTodayButton()

      Gets the today button from the overlays toolbar

      Returns:

    • getCancelButton

      public ButtonElement getCancelButton()

      Gets the cancel button from the overlays toolbar

      Returns: