How to switch between two windows in browser using in UIPath?

When I click a link in a current window, a new window opens. I just want to switch the control to the new window.
Actually, the new window is an auto-generated one. That is, a link will be generated dynamically.

kindly help!


Use AttachBrowser activity. Use the output property UiBrowser in your OpenBrowser and AttachBrowser to create variables referencing to your browsers.

You can then use an AttachBrowser activity with Input property Browser set to related variable.

@msan Thanks