com.vaadin.flow.component.dashboard.testbench.

Class DashboardElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.dashboard.testbench.DashboardElement

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

public class DashboardElement extends TestBenchElement

Author:

Vaadin Ltd

  • Constructor Details

    • DashboardElement

      public DashboardElement()
  • Method Details

    • getWidgets

      public List<DashboardWidgetElement> getWidgets()

      Returns the widgets in the dashboard.

      Returns:

      The widgets in the dashboard

    • getSections

      public List<DashboardSectionElement> getSections()

      Returns the sections in the dashboard.

      Returns:

      The sections in the dashboard