public class HtmlTable
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HtmlTable.HtmlTableBuilder |
Constructor and Description |
---|
HtmlTable(org.openqa.selenium.WebElement tableElement) |
HtmlTable(org.openqa.selenium.WebElement tableElement,
java.util.List<java.lang.String> headings) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsRowElementsWhere(BeanMatcher... matchers) |
java.util.List<org.openqa.selenium.WebElement> |
filterRows(BeanMatcher... matchers) |
static java.util.List<org.openqa.selenium.WebElement> |
filterRows(org.openqa.selenium.WebElement table,
BeanMatcher... matchers) |
org.openqa.selenium.WebElement |
findFirstRowWhere(BeanMatcher... matchers) |
java.util.List<org.openqa.selenium.WebElement> |
firstRowElements() |
java.util.List<java.lang.String> |
getHeadings() |
java.util.List<org.openqa.selenium.WebElement> |
getRowElements() |
java.util.List<org.openqa.selenium.WebElement> |
getRowElementsFor(java.util.List<java.lang.String> headings) |
java.util.List<org.openqa.selenium.WebElement> |
getRowElementsWhere(BeanMatcher... matchers) |
java.util.List<java.util.Map<java.lang.Object,java.lang.String>> |
getRows() |
java.util.List<org.openqa.selenium.WebElement> |
headingElements() |
static HtmlTable |
inTable(org.openqa.selenium.WebElement table) |
static java.util.List<java.util.Map<java.lang.Object,java.lang.String>> |
rowsFrom(org.openqa.selenium.WebElement table) |
void |
shouldHaveRowElementsWhere(BeanMatcher... matchers) |
void |
shouldNotHaveRowElementsWhere(BeanMatcher... matchers) |
static HtmlTable.HtmlTableBuilder |
withColumns(java.lang.String... headings) |
public HtmlTable(org.openqa.selenium.WebElement tableElement)
public HtmlTable(org.openqa.selenium.WebElement tableElement, java.util.List<java.lang.String> headings)
public static HtmlTable inTable(org.openqa.selenium.WebElement table)
public java.util.List<java.util.Map<java.lang.Object,java.lang.String>> getRows()
public org.openqa.selenium.WebElement findFirstRowWhere(BeanMatcher... matchers)
public boolean containsRowElementsWhere(BeanMatcher... matchers)
public void shouldHaveRowElementsWhere(BeanMatcher... matchers)
public void shouldNotHaveRowElementsWhere(BeanMatcher... matchers)
public static HtmlTable.HtmlTableBuilder withColumns(java.lang.String... headings)
public java.util.List<java.lang.String> getHeadings()
public java.util.List<org.openqa.selenium.WebElement> headingElements()
public java.util.List<org.openqa.selenium.WebElement> firstRowElements()
public java.util.List<org.openqa.selenium.WebElement> getRowElementsFor(java.util.List<java.lang.String> headings)
public java.util.List<org.openqa.selenium.WebElement> getRowElements()
public java.util.List<org.openqa.selenium.WebElement> getRowElementsWhere(BeanMatcher... matchers)
public static java.util.List<java.util.Map<java.lang.Object,java.lang.String>> rowsFrom(org.openqa.selenium.WebElement table)
public static java.util.List<org.openqa.selenium.WebElement> filterRows(org.openqa.selenium.WebElement table, BeanMatcher... matchers)
public java.util.List<org.openqa.selenium.WebElement> filterRows(BeanMatcher... matchers)