@Override
    public void click() {
        WebElement link = getRoot();
        PrimeSelenium.waitGui().until(PrimeExpectedConditions.visibleAndAnimationComplete(link));
        PrimeSelenium.waitGui().until(ExpectedConditions.elementToBeClickable(link));

        if (link.getDomAttribute("data-pfconfirmcommand") != null) {
            // Confirm Dialog/Popup we don't want to guard for AJAX
        }
        else if (isAjaxified("onclick")) {
            link = PrimeSelenium.guardAjax(link);
        }
        else if ("_blank".equals(link.getDomAttribute("target"))) {
            link = PrimeSelenium.guardHttp(link);
        }

        link.click();
    }
Component wrapper for the PrimeFaces {@code p:commandLink}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/CommandLink.java