public static boolean isElementClickable(WebElement element) {
        return isElementDisplayed(element) &&
                    isElementEnabled(element) &&
                    !hasCssClass(element, "ui-state-disabled") &&
                    !Boolean.parseBoolean(element.getDomAttribute("aria-busy"));
    }
Is this element clickable?

@param element the WebElement to check for clickable
@return true if clickable false if not
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java