Explain how you can find broken images in a page using Selenium Web driver ?

To find the broken images in a page using Selenium web driver —

* Get XPath and get all the links in the page using tag name
* a tag is used for links
* In the page click on each and every link
* After that status of the link is checked if we have 400 or greater status then the link is broken

Leave a Reply