public List<Row> getRows() {
        return getRowsWebElement().stream().map(rowElt -> {
            List<Cell> cells = rowElt.findElements(By.tagName("td")).stream().map(cellElt -> new Cell(cellElt)).collect(Collectors.toList());
            return new Row(rowElt, cells);
        }).collect(Collectors.toList());
    }
Component wrapper for the PrimeFaces {@code p:treeTable}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/TreeTable.java