How to get URL from an error page in chrome?

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?

Did we try with other browsers
Cheers @Andrey_Voinalovich

I had to perform this process in chrome, so it’s my only browser to check

can i have a screenshot of how that error page appears in chrome

1 Like

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

–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

Cheers @Andrey_Voinalovich


That’s great! Really, thank you for that!

1 Like

Cheers @Andrey_Voinalovich

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.