@Override
    public List<WebElement> getRowsWebElement() {
        if (getActiveLayout() == Layout.LIST) {
            return content.findElements(By.className("ui-dataview-row"));
        }
        else {
            return content.findElements(By.className("ui-dataview-column"));
        }
    }
Component wrapper for the PrimeFaces {@code p:dataView}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/DataView.java