public class HtmlTable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HtmlTable.CellReaderStrategy |
static class |
HtmlTable.HtmlTableBuilder |
Constructor and Description |
---|
HtmlTable(org.openqa.selenium.WebElement tableElement) |
HtmlTable(org.openqa.selenium.WebElement tableElement,
List<String> headings) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsRowElementsWhere(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.WebElement |
findFirstRowWhere(BeanMatcher... matchers) |
List<org.openqa.selenium.WebElement> |
firstRowElements() |
List<String> |
getHeadings() |
List<org.openqa.selenium.WebElement> |
getRowElements() |
List<org.openqa.selenium.WebElement> |
getRowElementsFor(List<String> headings) |
List<org.openqa.selenium.WebElement> |
getRowElementsWhere(BeanMatcher... matchers) |
List<Map<Object,String>> |
getRows() |
List<org.openqa.selenium.WebElement> |
headingElements() |
static HtmlTable |
inTable(org.openqa.selenium.WebElement table) |
HtmlTable |
readingCellContentsWith(HtmlTable.CellReaderStrategy cellReaderStrategy) |
static List<Map<Object,String>> |
rowsFrom(org.openqa.selenium.WebElement table) |
void |
shouldHaveRowElementsWhere(BeanMatcher... matchers) |
void |
shouldNotHaveRowElementsWhere(BeanMatcher... matchers) |
static HtmlTable.HtmlTableBuilder |
withColumns(String... headings) |
public HtmlTable readingCellContentsWith(HtmlTable.CellReaderStrategy cellReaderStrategy)
public static HtmlTable inTable(org.openqa.selenium.WebElement table)
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(String... headings)
public List<org.openqa.selenium.WebElement> headingElements()
public List<org.openqa.selenium.WebElement> firstRowElements()
public List<org.openqa.selenium.WebElement> getRowElementsFor(List<String> headings)
public List<org.openqa.selenium.WebElement> getRowElements()
public List<org.openqa.selenium.WebElement> getRowElementsWhere(BeanMatcher... matchers)
public static List<org.openqa.selenium.WebElement> filterRows(org.openqa.selenium.WebElement table, BeanMatcher... matchers)
public List<org.openqa.selenium.WebElement> filterRows(BeanMatcher... matchers)
Copyright © 2021. All rights reserved.