public List<String> getTargetListLabels() {
        return getTargetListElements().stream()
                    .map(e -> e.getDomAttribute(ITEM_LABEL_ATTR)).collect(Collectors.toList());
    }
Gets a list of the labels in the target list

@return the list of labels
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/PickList.java