public class TableImpl extends ElementImpl implements Table
| Constructor and Description |
|---|
TableImpl(UniqueElementLocator elementLocator)
Creates a Table for a given WebElement.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
getCellAtIndex(int rowIdx,
int colIdx)
Gets the WebElement of the cell at the specified index
|
int |
getColumnCount()
Gets the number of columns in the table
|
int |
getRowCount()
Gets the number of rows in the table
|
clear, click, elementWired, findElement, findElements, getAttribute, getCoordinates, getCssValue, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, isDisplayed, isEnabled, isSelected, sendKeys, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelementWiredpublic TableImpl(UniqueElementLocator elementLocator)
elementLocator - the locator of the webelement.public int getRowCount()
TablegetRowCount in interface Tablepublic int getColumnCount()
TablegetColumnCount in interface Tablepublic org.openqa.selenium.WebElement getCellAtIndex(int rowIdx,
int colIdx)
TablegetCellAtIndex in interface TablerowIdx - The zero based index of the rowcolIdx - The zero based index of the columnCopyright © 2017 PPI AG. All rights reserved.