Selenium WebDriver – How To Find Broken Links On a Page
Overview: In this article, we will see how we could use Selenium WebDriver to find broken links on a webpage. Utility Class: To demonstrate how it works, I would be using below simple utility. This below method simply returns the HTTP response code the given URL. public class LinkUtil { // hits the given url and […]