How to create dynamic variables of type UiPath.Core.Browser

Hi, I want to open multiple browser instances with the same url using “Open Browser” activity in a while loop and assign a variable to the “UiBrowser” output property of each browser activity.

1). How to create variables dynamically in the while loop
2). How to assign the variable to the activity’s output property

Help me out.


Welcome to our Community!

You can try with a Dictionary with Browser type and can use it further.

How can i add the variable to the UiBrowser property?


Check this xaml and let me know if you are looking for something different
DynamicBrowser.xaml (6.4 KB)