public WebElement getCancelIcon() {
        return findElement(By.className("ui-rating-cancel"));
    }
Gets the cancel icon if available.

@return the cancel icon
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/Rating.java