public List<String> getLabels() {
        return getCheckboxes().stream()
                    .map(WebElement::getText)
                    .collect(Collectors.toList());
    }
Component wrapper for the PrimeFaces {@code p:selectManyCheckbox}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/SelectManyCheckbox.java