- Navigate to the URL of site you are interested in
- Get all the links of page using FindElements(By.Tag(“a”)) method
- Iterate through the page URLs and get the attributes href using GetAttribute(“href”) method
- Use Simple WebRequest and HttpWebResponse class to get the page response and status code.
Here is the source code https://gist.github.com/executeautomation/d339d5ba35adeb46594fca1462d08957 Thanks for reading the post and watching the video!!! Please leave your comments and let me know if there is anything I should update in this post. Thanks, Karthik KK