public static <T> T guardAjax(T target, int delayInMilliseconds) {
        return Guard.ajax(target, delayInMilliseconds);
    }
Guard the AJAX request which means wait until it has completed before returning. This introduces a delay because some client side activity uses
"setTimeout" Javascript to delay the execution of AJAX.

@param target the element to guard
@param delayInMilliseconds how long to delay before expecting an AJAX event
@param <T> the element type
@return the element
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java