How to find broken links in selenium webdriver | Interview Question

Опубликовано: 17 Март 2026
на канале: Testing Talks Latest
68
1

Related Links:
1. how to handle hidden elements in selenium webdriver -    • how to handle hidden elements in selenium ...  
2. How to read data from web table in selenium and Java -    • How to read data from web table in seleniu...  
3. interview preparation for automation testing -    • interview preparation for automation testing  
Description:
In this video I have explained how to find broken links in a web page using selenium web driver. We are using HttpURLConnection to find the broken links by sending a request and getting back request. whenever url return with the status code as 400 or above we report it as broken link.

It is one of the common interview question to find the broken links. Feel free to watch the video. This video will be helpful for the beginners and automation tester to learn selenium web driver.

Tags:
#seleniumautomation #seleniuminterview #interviewquestions #interviewpreparation #automationtesting