How to attach start URL to next browser activity in UIPath latest Version 2023.10.1?

Hi Team,

In 2023.10.1 version, how i can attach to current browser. like for e.g., Initially i am connecting to original browser & some click activity done on original browser after that original URL getting change. i want to connect/attach new URL to the current browser.

Can anyone help me on this? Thank you very much.
@Yoichi , @supermanPunch , @mkankatala , @Gokul_Jayakumar

Hi @Smitesh_Aher2

you can use Get URL activity for getting the URLs and save it to a variable and use that variable for doing your further automation

hi @sanjay3 ,

You can use Use Application/Browser activity to use it like the “Attach Window” activity available in previous releases.

image

@PAVITHRAN & @sanjay3 Thanks for your response…

I am using 2 use browser/application activity in my project one in try block and 2nd one in the catch block. If in case any error occur it will goes inside the catch block but same URL of try block should attach to catch block of browser activity.
How to do this? Please help me on this issue.

Use the “Input/Output Element” properties. In the activity in Try block, create a variable in the “Output Element” property and pass it to the “Input Element” of the browser scope in the Catch block.

Hi @Smitesh_Aher2 ,
I have Attached a file regarding your use case scenario. I have used Try catch block in this workflow.
Uipath Forum.zip (5.7 KB)

Hope this helps you out!!
Happy Automation

@Smitesh_Aher2

You can use Input and Output properties of use browser/application activity

Why getting this error?

I have created output variable as “elm” in the try block and putting inside input of catch block. But why getting this error??

It just means it will not open the browser when you use the Input element, instead attaching to an existing session. If you want to get rid of the warning, set the “Open” property to “Never”.

Thanks @efelantti Working as expected and also thanks to everyone

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