0

When we navigate to a page and inspect the page, under Network monitor tab > images, we get a list of file names (Ex. imgge.png) as the page is loaded. How do i idientify the image is present when we navigate to a page using selenium script. I have attached the screenshot for reference what im exactly referring to.

enter image description here

1 Answers1

0
driver.findElement(By.id("imagefile_id")).isDisplayed();

get the id value of the image and use the above script, it return the Boolean value.