Internal variable "!URL" works only when OPEN is used before

In Chrome (possibly other browsers):
Since the last updated to 7.0.11 I have issues all over the place and a lot of my scripts stopped working.
The first one I found is the “${!URL}”:
It appears that this command only works after a URL was called with the OPEN command:

{
      "Command": "open",
      "Target": "https://a9t9.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "url is ${!URL}",
      "Value": "green",
      "Description": ""
    }

But if you try the same thing without the “OPEN” command it fails with the error message above: Internal variable “!URL”

 {
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "url is ${!URL}",
      "Value": "green",
      "Description": ""
    }

Thanks a lot for the bug report. I confirmed the issue.

Hi just want to remind you that this issue still exists in version 7.0.14. I do feel it is an important call that needs to be fixed. My workaround for this right now is to have the executeScript call before. Not sure why this fixes it but it makes it works for now:

{
“Command”: “executeScript”,
“Target”: “return ${!clipboard}”,
“Value”: “TempToFixURLCall”,
“Description”: “Can be removed once the ${!URL} call issue in KANTU is resolved”
},
{
“Command”: “echo”,
“Target”: “url is ${!URL}”,
“Value”: “green”,
“Description”: “”
},

1 Like

Interesting. Adding “executeScript” solves the issue because it makes a connection to the website, so it helps in a similar way as adding an OPEN command before it.

We have a ticket for this issue, so it is not forgotten. But this additional test case is helpful, thanks!