Right now my application is displaying only 12 images in the front end, but while fetching through xpath it is showing 18 images.

Used x-path as:

```
driver.findElemnt(By.xpath("xpath")).size();

```

Used code:

```
int showCount = driver.findElements(By.xpath(ObjRepoProp.getProperty("homePageShowLogoImage_XPATH"))).size();

for (int i = 1; i <= showCount; i++) {
driver.findElement(By.xpath(ObjRepoProp.getProperty("homePageShowLogoImage_XPATH"))).isDisplayed();
                        i=i+1;
                        log.info(i + "shows are present in GET TO KNOW THE SHOW section (Count of only shows which are displaying on screen).\n");
}

```

I need to display only 12 images.