Creating Exception for a Broken URL

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!

Hi @susbasu, Follow the below links,

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