public void deselect(String label) {
        if (!isSelected(label) || !isEnabled()) {
            return;
        }

        WebElement option = getOptions().stream()
                .filter(e -> Objects.equals(e.getDomProperty("innerHTML"), label) && e.isSelected())
                .findFirst()
                .orElse(null);
        if (option != null) {
            if (isAjaxified("onchange")) {
                option = PrimeSelenium.guardAjax(option);
            }
            option.click();
        }
    }
Component wrapper for the Faces {@code h:selectOneMenu}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/html/SelectOneMenu.java