Automation Question:
Download Questions PDF

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

Answer:

You have to follow the next steps to find broken images in a page using Selenium Web driver:

☛ get XPath and get the all links on the page using the tag name
☛ click on every link on the page
☛ look for 404/500 in the target page title

Download Automation Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us can you write the code to double click an element in Selenium?Tell us how many exceptions do you know in Selenium WebDriver?