UI.Vision/Kantu as iMacros Alternative

Hello congratulations for the macro code is much improved compared to the orginal one that stuck often. I noticed that you used codes that I don’t know could you explain to me?

This code how to work ?

    {
      "Command": "executeScript",
      "Target": "try{return document.evaluate('//*[@id=\"proxy_list\"]/tbody/tr[${i}]/td[2]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.innerText}catch(e){};",
      "Value": "testdata"
    },

This code how works ?

    {
      "Command": "if_v2",
      "Target": "/^\\d+$/.test(${testdata}) == true",
      "Value": ""
    },

Why use 2 different loop i and i2 ?

The original version of the macro often froze and did not work well the one you find at this link, the same author writes that it also stuck to him

You were very good at making this macro congratulations