public static <T> T guardAjax(T target) {
        return Guard.ajax(target);
    }
Guard the AJAX request which means wait until it has completed before returning.

@param target the element to guard
@param <T> the type of element
@return the element
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/PrimeSelenium.java