How to handle issues like internet disconnectivity in UI path

I am iterating through a data table that contains URL and using those URLs, I am using get text to extract some text
Consider a situation if my internet goes off or URL in not right
How can i handle this with try catch?

Hi @Sami_Rajput

Once you give the url after the open browser activity give a element exists with selecting any static element on the page like the login page, usernamefield,password field, any static name like home and putput will be true or false. If false url is wrong or internet might not be there

Cheers

1 Like

Hi @Sami_Rajput

If the issue is resolved then please mark appropriate solution and close so that it helps
Others

Cheers