Application Browser - New Tab Issue

So I am finally using the latest release due to being on enterprise edition :slight_smile:

Just trying to get to grips with the new “Use Application/Browser” function

My automation uses this to

navigate to login page
enter username
enter password
click login

next screen loads
click link
opens a new browser tab

now the issue I am having is that it won’t use the new tab, just changes it back to the original url, I even did a navigate to and same again, any help greatly appreciated

You have to do another Use Application/Browser activity to attach to the new tab (seen as a window).

So I thought that would be the case, I assume you would but it outside of the original
“Use Application/Browser” activity?

It can be outside or inside the original, doesn’t matter, it depends on your process. If you need to go back to controlling the original window after using the sub-window, then put the sub “use” inside the original “use.” If it’s more of a sequential thing where you do things in the first window then in the second window, and don’t go back to the first window, then put the second “use” after, not inside, the first “use.”

I’m not understanding this. Can you please explain to me in full detail as I’m a beginner. I click a button and a new page with a unique link is created. I use Use Application/Browser I tried a selector property by page title, but it was a no go. How can this be solved. I only need the new page. Thanks in advance.

That’s how you do it, but you just have to get the selector correct. Did you try just clicking indicate and then the page and not touching the selector? Have you done the free UiPath Academy training on selectors?

I tried using just an indicator without a url, (since I don’t have a url until the new tab is created), I tried with a url and selector as well, but that doesn’t work. Can you break it down step by step please.




Post the full selector and URL.

Just Got It Working using the tab’s title without using a url. Thanks for your help!

That’s good. Make sure you pay attention to the Close and Open settings in the Use Application/Browser activity properties. It sounds like in your situation you want to set Open to Never (because you’re trying to attach to an existing tab/window). You may want to set Close to Never or Always, depending on your needs. The Close/Always setting can be handy because when it gets to the end of the Use Application/Browser activity it’ll just close the tab, you don’t have to do that manually.