Class HtmlTable
java.lang.Object
net.thucydides.core.pages.components.HtmlTable
Class designed to make it easier reading from and reasoning about data in HTML tables.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsRowElementsWhere(BeanMatcher... matchers) List<org.openqa.selenium.WebElement>filterRows(BeanMatcher... matchers) static List<org.openqa.selenium.WebElement>filterRows(org.openqa.selenium.WebElement table, BeanMatcher... matchers) org.openqa.selenium.WebElementfindFirstRowWhere(BeanMatcher... matchers) List<org.openqa.selenium.WebElement>List<org.openqa.selenium.WebElement>List<org.openqa.selenium.WebElement>getRowElementsFor(List<String> headings) List<org.openqa.selenium.WebElement>getRowElementsWhere(BeanMatcher... matchers) getRows()List<org.openqa.selenium.WebElement>static HtmlTableinTable(org.openqa.selenium.WebElement table) readingCellContentsWith(HtmlTable.CellReaderStrategy cellReaderStrategy) rowsFrom(org.openqa.selenium.WebElement table) voidshouldHaveRowElementsWhere(BeanMatcher... matchers) voidshouldNotHaveRowElementsWhere(BeanMatcher... matchers) static HtmlTable.HtmlTableBuilderwithColumns(String... headings)
-
Constructor Details
-
HtmlTable
public HtmlTable(org.openqa.selenium.WebElement tableElement) -
HtmlTable
-
-
Method Details
-
readingCellContentsWith
-
inTable
-
getRows
-
findFirstRowWhere
-
containsRowElementsWhere
-
shouldHaveRowElementsWhere
-
shouldNotHaveRowElementsWhere
-
withColumns
-
getHeadings
-
headingElements
-
firstRowElements
-
getRowElementsFor
-
getRowElements
-
getRowElementsWhere
-
rowsFrom
-
filterRows
public static List<org.openqa.selenium.WebElement> filterRows(org.openqa.selenium.WebElement table, BeanMatcher... matchers) -
filterRows
-