Class GridPw.RowPw

java.lang.Object
in.virit.mopo.GridPw.RowPw
Enclosing class:
GridPw

public class GridPw.RowPw extends Object
Represents a row in the vaadin-grid component. Not that there is no DOM element backing this row, but this is purely virtual helper class based on row index.
  • Method Details

    • getCell

      public com.microsoft.playwright.Locator getCell(int cellIndex)
      Gets the cell locator at the given index.
      Parameters:
      cellIndex - the cell index (0-based, unlike the CSS nth-child selector, whose designer should be hung by the balls, in case they have any)
      Returns:
      the cell locator
    • getCell

      public com.microsoft.playwright.Locator getCell(String headerText)
      Gets the cell with the given header text.
      Parameters:
      headerText - the header text
      Returns:
      the cell locator
    • select

      public void select()
      Selects the given row.