Automation Question:
Download Job Interview Questions and Answers 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
☛ 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 Question | Next 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? |