Creating Exception for a Broken URL

exception

#1

I need to access a URL and if it’s broken or inaccessible, I need to catch that and create an exception.

How can we achieve this ? What are the elements that need to be looked for ?

Thanks!


#2

Hi @susbasu, Follow the below links,

  1. How to check whether the URLs is redirecting or not
  2. Check Href link exists or not