protected void setAjaxMinLoadAnimation(int milliseconds) {
        if (milliseconds < 0) {
            throw new IllegalArgumentException("milliseconds cannot be negative");
        }
        PrimeSelenium.executeScript("PrimeFaces.ajax.minLoadAnimation = " + milliseconds + ";");
    }
Checks a WebElement if it has a CSS class or classes. If more than one is listed then ALL must be found on the element.

@param element the element to check
@param cssClasses the CSS class or classes to look for
primefaces-selenium/primefaces-selenium-core/src/main/java/org/primefaces/selenium/AbstractPrimePageTest.java