Freezes on reaching a variable

I add ANY variable at it just stops. Any ${x} and it “freezes” and does nothing. MAYBE the tab will change and then nothing. I stop and start it and nothing. It just hangs there.

I’m trying to make it change tabs, download a picture, and loop.

{
   "Name": "save Image",
   "CreationDate": "2024-4-25",
   "Commands": [
       "Command": "selectWindow",
       "Target": "tab=${!loop}",
       "Value": "",
       "Description": ""
     },
     {
       "Command": "saveItem",
       "Target": "xpath=/html/body/img",
       "Value": "",
       "Targets": [
         "xpath=/html/body/img",
         "xpath=//img",
         "css=body > img"
       ],
       "Description": ""
     },
   ]
 }

im on Chrome by the way

Can you post a small test macro I can run?

So i wrote that one wrong

{
  "Name": "save Image",
  "CreationDate": "2024-4-25",
  "Commands": [
    {
      "Command": "selectWindow",
      "Target": "tab=${!loop}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "saveItem",
      "Target": "xpath=/html/body/img",
      "Value": "",
      "Targets": [
        "xpath=/html/body/img",
        "xpath=//img",
        "css=body > img"
      ],
      "Description": ""
    }
  ]
}

That is it. Run as loop: change tab, save picture, change tab, save picture…

After testing it on my desktop it appears it only does it when downloading from the same website, if they are different it continues as normal