Solved Close IE browser tab in blue prism

rpaccount

Member
Hi all,

I need to close the browser tab as shown. I don't want to close the whole IE. Just the tab at that position?
Is there a way to do it?
Thanks!
 

Attachments

  • browsertab.PNG
    3.1 KB · Views: 225

VJR

Well-Known Member
Hi rpaccount,

If you are aware of which tab number you would like to switch to you can use Sendkeys on the Navigate action.
Ctrl 1 is for 1st tab, Ctrl 2 is for the 2nd and so on.
So "^2" with Global Send Keys will switch to the second tab.
But if you want to simply navigate from one tab to another then you'll need to use Ctrl Tab

And then Ctrl F4 to close that tab.
 

rpaccount

Member
Hi,
Make sure that the tab you want to close is activated first,
then send keystrokes
ctrl + w
Boom tab will be closed.

Hi,

After i download some stuff, tab 3 will be closed.
So it will automatically go to tab 2. Do i still need to activate the tab?
Because i tried using keystrokes "^W" and it didn't work.

Btw, i'm using WIN to spy on the page that i want to close.

Thanks
 

Raghu

New Member
Hi,

After i download some stuff, tab 3 will be closed.
So it will automatically go to tab 2. Do i still need to activate the tab?
Because i tried using keystrokes "^W" and it didn't work.

Btw, i'm using WIN to spy on the page that i want to close.

Thanks

Hi,
Good day!

Navigate: 1st-Activate Application
Navigate: 2nd- Global Send Key Events "<{CTRL}w>{CTRL}"

Try this one, It will definitely work.
 

MadhuG001

Member
Hi rpaccount,

If you are aware of which tab number you would like to switch to you can use Sendkeys on the Navigate action.
Ctrl 1 is for 1st tab, Ctrl 2 is for the 2nd and so on.
So "^2" with Global Send Keys will switch to the second tab.
But if you want to simply navigate from one tab to another then you'll need to use Ctrl Tab

And then Ctrl F4 to close that tab.
Hi vjr,
Suppose we have opened two application in two different IE window.
If we want to close a single application only. How can we do that ?
 
Top