Automation Question: Download Automation PDF

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

Tweet Share WhatsApp

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 PDF Read All 108 Automation Questions
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?