All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.selophane.elements.widget.Table Maven / Gradle / Ivy

There is a newer version: 0.12
Show newest version
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