V6.1.1 brings new bug, i am testing on edge browser. This command doesn’t work properly anymore:
{
"Command": "storeAttribute",
"Target": "linkText=mylink@href",
"Value": "link"
}
It returns only part of url now.
V6.1.1 brings new bug, i am testing on edge browser. This command doesn’t work properly anymore:
{
"Command": "storeAttribute",
"Target": "linkText=mylink@href",
"Value": "link"
}
It returns only part of url now.
storeAttribute extracts the attribute of an element, and often this is only the relative path. I verified it and it has not changed. If you have a test case where the behavior has changed, please let me know.
Here is a test on the older V6.0.5 RPA Beta version:
{
"Name": "url1",
"CreationDate": "2021-3-28",
"Commands": [
{
"Command": "open",
"Target": "https://addons.mozilla.org/en-US/firefox/addon/rpa/",
"Value": ""
},
{
"Command": "storeAttribute",
"Target": "xpath=//*[@id=\"react-view\"]/div/header/div/div/a@href",
"Value": "url"
},
{
"Command": "echo",
"Target": "url=${url}",
"Value": "green"
}
]
}
I guess it was only on edge, but @href was returning full url “UI.Vision RPA – Get this Extension for 🦊 Firefox (en-US)” in the past. I now adapted my scripts to this change so its not an issue really.
I guess the core issue is this: Open function no longer working for Relative Paths - #2 by admin