public String getSelectedLabel() {
        WebElement option = getOptions().stream()
                .filter(e -> e.isSelected())
                .findFirst()
                .orElse(null);
        return option == null ? null : option.getDomProperty("innerHTML");
    }
Component wrapper for the Faces {@code h:selectOneMenu}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/html/SelectOneMenu.java