Interview Questions

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

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

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


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

(Continued on next question...)

Other Interview Questions