public boolean containsRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); return (!rows.isEmpty()); }
public boolean containsRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); return (!rows.isEmpty()); }
public boolean containsRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); return (!rows.isEmpty()); }
public void shouldNotHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (!rows.isEmpty()) { throw new AssertionError("Expecting a table with no rows where: " + Arrays.deepToString(matchers)); } }
public void shouldHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } }
public WebElement findFirstRowWhere(final BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } return rows.get(0); }
public WebElement findFirstRowWhere(final BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } return rows.get(0); }
public void shouldNotHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (!rows.isEmpty()) { throw new AssertionError("Expecting a table with no rows where: " + Arrays.deepToString(matchers)); } }
public void shouldHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } }
public void shouldHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } }
public void shouldNotHaveRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (!rows.isEmpty()) { throw new AssertionError("Expecting a table with no rows where: " + Arrays.deepToString(matchers)); } }
public WebElement findFirstRowWhere(final BeanMatcher... matchers) { List<WebElement> rows = getRowElementsWhere(matchers); if (rows.isEmpty()) { throw new AssertionError("Expecting a table with at least one row where: " + Arrays.deepToString(matchers)); } return rows.get(0); }
public List<WebElement> filterRows(final BeanMatcher... matchers) { return new HtmlTable(tableElement).getRowElementsWhere(matchers); }
public static List<WebElement> filterRows(final WebElement table, final BeanMatcher... matchers) { return new HtmlTable(table).getRowElementsWhere(matchers); }
public List<WebElement> filterRows(final BeanMatcher... matchers) { return new HtmlTable(tableElement).getRowElementsWhere(matchers); }
public List<WebElement> filterRows(final BeanMatcher... matchers) { return new HtmlTable(tableElement).getRowElementsWhere(matchers); }
public static List<WebElement> filterRows(final WebElement table, final BeanMatcher... matchers) { return new HtmlTable(table).getRowElementsWhere(matchers); }
public static List<WebElement> filterRows(final WebElement table, final BeanMatcher... matchers) { return new HtmlTable(table).getRowElementsWhere(matchers); }