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

Task:
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.

Problem:
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.

@Yaswanth_D,

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?

@Yaswanth_D,

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