public class Table extends HtmlElement
driver, element, logger, webUXDriver| Constructor and Description |
|---|
Table(String label,
org.openqa.selenium.By by) |
| Modifier and Type | Method and Description |
|---|---|
void |
findElement()
Finds the element using By type.
|
int |
getColumnCount() |
List<org.openqa.selenium.WebElement> |
getColumns() |
String |
getContent(int row,
int column)
Get table cell content.
|
int |
getRowCount() |
List<org.openqa.selenium.WebElement> |
getRows() |
boolean |
isHasBody() |
captureSnapshot, captureSnapshot, click, clickAt, clickAt, fireEvent, getAllElements, getAttribute, getBy, getCssValue, getDriver, getElement, getEval, getHeight, getLabel, getLocation, getLocator, getSize, getTagName, getText, getValue, getWidth, init, isDisplayed, isElementPresent, isEnabled, isSelected, isTextPresent, mouseDown, mouseOver, mouseUp, sendKeys, simulateClick, simulateMouseOver, simulateMoveToElement, sleep, toHTML, toString, waitForPresent, waitForPresentpublic Table(String label, org.openqa.selenium.By by)
public void findElement()
HtmlElementfindElement in class HtmlElementpublic int getColumnCount()
public List<org.openqa.selenium.WebElement> getColumns()
public String getContent(int row, int column)
row - Starts from 1column - Starts from 1public int getRowCount()
public List<org.openqa.selenium.WebElement> getRows()
public boolean isHasBody()
Copyright © 2015. All rights reserved.