public void setValue(Boolean value) {
        while (!Objects.equals(getValue(), value)) {
            click();
        }
    }
Component wrapper for the PrimeFaces {@code p:triStateCheckbox}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/TriStateCheckbox.java