public List<WebElement> getRowElements() { return getRowElementsFor(getHeadings()); }
public List<WebElement> getRowElements() { return getRowElementsFor(getHeadings()); }
public List<WebElement> getRowElements() { return getRowElementsFor(getHeadings()); }
public List<WebElement> getRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rowElements = getRowElementsFor(getHeadings()); List<Integer> matchingRowIndexes = findMatchingIndexesFor(rowElements, matchers); List<WebElement> matchingElements = new ArrayList<WebElement>(); for(Integer index : matchingRowIndexes) { matchingElements.add(rowElements.get(index)); } return matchingElements; }
public List<WebElement> getRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rowElements = getRowElementsFor(getHeadings()); List<Integer> matchingRowIndexes = findMatchingIndexesFor(rowElements, matchers); List<WebElement> matchingElements = new ArrayList<WebElement>(); for(Integer index : matchingRowIndexes) { matchingElements.add(rowElements.get(index)); } return matchingElements; }
public List<WebElement> getRowElementsWhere(BeanMatcher... matchers) { List<WebElement> rowElements = getRowElementsFor(getHeadings()); List<Integer> matchingRowIndexes = findMatchingIndexesFor(rowElements, matchers); List<WebElement> matchingElements = new ArrayList<WebElement>(); for(Integer index : matchingRowIndexes) { matchingElements.add(rowElements.get(index)); } return matchingElements; }
public List<Map<Object, String>> getRows() { List<Map<Object, String>> results = new ArrayList<Map<Object, String>>(); List<String> headings = getHeadings(); List<WebElement> rows = getRowElementsFor(headings); for (WebElement row : rows) { List<WebElement> cells = cellsIn(row); if (enoughCellsFor(headings).in(cells)) { results.add(rowDataFrom(cells, headings)); } } return results; }
public List<Map<Object, String>> getRows() { List<Map<Object, String>> results = new ArrayList<Map<Object, String>>(); List<String> headings = getHeadings(); List<WebElement> rows = getRowElementsFor(headings); for (WebElement row : rows) { List<WebElement> cells = cellsIn(row); if (enoughCellsFor(headings).in(cells)) { results.add(rowDataFrom(cells, headings)); } } return results; }
public List<Map<Object, String>> getRows() { List<Map<Object, String>> results = new ArrayList<>(); List<String> headings = getHeadings(); List<WebElement> rows = getRowElementsFor(headings); for (WebElement row : rows) { List<WebElement> cells = cellsIn(row); if (enoughCellsFor(headings).in(cells)) { results.add(rowDataFrom(cells, headings)); } } return results; }