public List<TreeNode> getChildren() {
        return findElements(By.cssSelector(CHILD_SELECTOR)).stream()
                .map(e -> new TreeNode(this, e.getDomAttribute("data-rowkey"), null))
                .collect(Collectors.toList());
    }
Component wrapper for the PrimeFaces {@code p:tree}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/Tree.java