public class AgGrid extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AgGrid.AgGridBuilder |
| Modifier and Type | Field and Description |
|---|---|
static Path |
CELL |
static String |
COL_ID |
static Path |
HEADER_CELL |
static Path |
HEADER_TXT |
static Path |
ROW |
| Modifier and Type | Method and Description |
|---|---|
void |
clickMenuOfHeader(String headerText)
Click on the menu of a the column with the given header
|
void |
clickOnSort(String headerText)
Click on the 'sort' column with the given header
|
Path |
ensureVisibilityOfRowWithIndex(int n)
Scroll until the row with the given index is visible, and return a Path element that matches it.
|
Path |
ensureVisibilityOfRowWithIndexAndColumn(int index,
String columnTitle)
Scroll until the row with the given index, as well as the given column, is visible.
|
int |
findRowIndex(Map<String,ElementProperty> row) |
void |
findTableInBrowser() |
static AgGrid.AgGridBuilder |
getBuilder() |
Path |
getVisibleHeaderPath(String headerText)
Make sure the given column header is visible, and returns a Path element to access it.
|
boolean |
isVirtualized() |
void |
overrideTimeoutDuringOperation(int millisecs)
Override the default timeout threshold for finding elements while scrolling the table.
|
void |
overrideTimeoutWhenDone(int millisecs)
Override the default timeout threshold it reverts to when table operations are done.
|
void |
setFinalTimeout() |
String |
toString() |
public static final String COL_ID
public static final Path HEADER_CELL
public static final Path HEADER_TXT
public static final Path ROW
public static final Path CELL
public static AgGrid.AgGridBuilder getBuilder()
public boolean isVirtualized()
public void overrideTimeoutDuringOperation(int millisecs)
millisecs - - the timeout in millisecondspublic void overrideTimeoutWhenDone(int millisecs)
millisecs - - the timeout in millisecondspublic void clickMenuOfHeader(String headerText)
headerText - - the header textpublic void clickOnSort(String headerText)
headerText - - the header textpublic Path getVisibleHeaderPath(String headerText)
headerText - - the header textpublic void setFinalTimeout()
public Path ensureVisibilityOfRowWithIndex(int n)
n - the number of row in the table, as visible to the userpublic Path ensureVisibilityOfRowWithIndexAndColumn(int index, String columnTitle)
index - the number of row in the table, as visible to the usercolumnTitle - the header title of the wanted cell in the rowpublic int findRowIndex(Map<String,ElementProperty> row)
public void findTableInBrowser()
Copyright © 2019. All rights reserved.