Automation Question:

Download Job Interview Questions and Answers PDF

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

Automation Interview Question
Automation Interview Question

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?