Developing one Chrome project I had an exception when I’m trying to reach the chrome error page’s url, using Get attribute activity.
I guess that’s because uipath chrome extension doesn’t work with an error pages.
How can I reach chrome error page’s url using uipath?
we got two options to do that
like either we can click on the URL bar and use SEND HOT KEY activity with key as ctrl+A
–then another send hot key with ctrl+c
–finally a activity called GET FROM CLIPBOARD activity where we can get the value from clipboard with a variable of type string named str_output
OR
–Use IMAGE EXISTS activty and check with this error image and it would give us a boolean variable named bool_exists
–now use a IF condition like this bool_exists = True
if true it will go to THEN part where we can use a ATTACH BROWSER activity within which use GET ATTRIBUTE activitya nd get the value for the attribute url and store it in a string variable
kindly try this and let know for any queries or clarification