br.com.caelum.seleniumdsl.table.layout
Interface TableLayout
- All Known Implementing Classes:
- FullTableLayout, PlainPlusThTableLayout, PlainTableLayout
public interface TableLayout
headerValue
String headerValue(int col)
- Parameters:
col - the column index
- Returns:
- the text of the column
headerLinkValue
String headerLinkValue(int col)
- Used when the header's text is a link. Common when doing pagination
- Parameters:
col - the column index
- Returns:
- the '<a href' tag's text
getContentCount
int getContentCount()
- Returns:
- The tbody rows. Some layouts will remove the first row and return all the others, ignoring if the last row is a footer or no.
value
String value(int row,
int col)
- Parameters:
row - the row indexcol - the col index
- Returns:
- the text of the cell or null if the cell is not found
getColCount
int getColCount()
- Returns:
- The number of columns on the header.
getRowCount
int getRowCount()
- Returns:
- The full row count, including possible header and footer.
contains
boolean contains(Table table,
String col,
String content)
- Parameters:
col - the header text of the columncontent - the content to search
- Returns:
- true if the content exists
Copyright © 2008. All Rights Reserved.