com.vaadin.flow.component.board.testbench.

Class BoardElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.board.testbench.BoardElement

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 BoardElement extends TestBenchElement

This is the base element class for accessing a Vaadin Board component for TestBench testing.

Author:

Vaadin Ltd.

  • Constructor Details

    • BoardElement

      public BoardElement()
  • Method Details

    • getRow

      public RowElement getRow(int rowIndex)

      Gets the row element at the given index.

      Parameters:

      rowIndex - index of target row

      Returns:

      the row at the given index

    • getRows

      public List<RowElement> getRows()

      Gets all rows from the board. Inner rows are not included.

      Returns:

      all row elements