Question - Explain how you can find broken images in a page using Selenium Web driver ?
Answer -
To find the broken images in a page using Selenium web driver is
- Get XPath and get all the links in the page using tag name
- In the page click on each and every link
- Look for 404/500 in the target page title