public List<String> getOptionLabels() {
        List<String> result = new ArrayList<>();
        getOptions().forEach((element) -> result.add(element.getText()));

        return result;
    }
Component wrapper for the PrimeFaces {@code p:selectOneButton}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/SelectOneButton.java