How to have it start on a new tab instead of the active one?

Hi I like the automation, however its a little inconvenient for the recording to be scheduled to take effect on the active tab i am currently on, is there anyway it could just create a new tab, so it doesn’t interfere with what im doing on the active tab im on?

{
“Command”: “selectWindow”,
“Target”: “tab=open”,
“Value”: “https://forum.ui.vision/”,
“Description”: “”
},

okay so yes this make it open in a new tab istead of loading on the active one but it still forces me to the new tab of the recording, id like to be able to continue working on what i am on active tab and this is just playing the recording in new tab in the background

Hi,
Please refer

https://ui.vision/rpa/docs/selenium-ide/selectwindow
Try to use selectWindow | title=TITLE TAB or selectWindow | tab= [No.]

1 Like

Or even close the current window and open a new one.

    {
      "Command": "store",
      "Target": "false",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "label",
      "Target": "insert_prompt",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=close",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=open",
      "Value": "https://google.com",
      "Description": ""
    },
    {
      "Command": "gotoIf",
      "Target": "${!statusOK} == false",
      "Value": "insert_prompt",
      "Description": ""
    },

In my code I have added an error handling line because sometimes, not always, when opening a new tab, an error pops up, I catch it and restart the opening process.