org.selophane.elements.widget.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webtest Show documentation
Show all versions of webtest Show documentation
Some additional helper for webtesting with selenium
package org.selophane.elements.widget;
import org.openqa.selenium.WebElement;
import org.selophane.elements.base.Element;
import org.selophane.elements.base.ImplementedBy;
/**
* Table functionality.
*/
@ImplementedBy(TableImpl.class)
public interface Table extends Element {
/**
* Gets the number of rows in the table
*
* @return int equal to the number of rows in the table
*/
int getRowCount();
/**
* Gets the number of columns in the table
*
* @return int equal to the number of rows in the table
*/
int getColumnCount();
/**
* Gets the WebElement of the cell at the specified index
*
* @param rowIdx The zero based index of the row
* @param colIdx The zero based index of the column
* @return the WebElement of the cell at the specified index
*/
WebElement getCellAtIndex(int rowIdx, int colIdx);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy