Hi,
I am trying to store both the URL and the text but something is wrong there :
Your code is wrong
This is the working code
{
"Name": "store",
"CreationDate": "2019-10-25",
"Commands": [
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": ""
},
{
"Command": "storeText",
"Target": "xpath=(//a[contains(.,'PowerOnPowerOff')])[1]",
"Value": "text"
},
{
"Command": "storeAttribute",
"Target": "xpath=(//a[contains(.,'PowerOnPowerOff')])[1]@href",
"Value": "url"
},
{
"Command": "echo",
"Target": "${text}",
"Value": "#shownotification"
},
{
"Command": "echo",
"Target": "${url}",
"Value": "#shownotification"
}
]
}