I am trying to run an If statement if the macro is located under a specific website. The problem is that even if I am in the correct site I still get the ELSE.
{
"Name": "T4",
"CreationDate": "2020-7-14",
"Commands": [
{
"Command": "executeScript",
"Target": "return (window.location.href)",
"Value": "url"
},
{
"Command": "if_v2",
"Target": "${!URL} == \"https://en.wikipedia.org/*\"",
"Value": ""
},
{
"Command": "storeText",
"Target": "id=firstHeading",
"Value": "Heading"
},
{
"Command": "else",
"Target": "",
"Value": ""
},
{
"Command": "echo",
"Target": "Not Wikipedia",
"Value": "#shownotification"
},
{
"Command": "end",
"Target": "",
"Value": ""
}
]
}