Hi all,
Using this command
selectFrame | index=1 | |
I’m getting this error
timeout reached when looking for frame 'index=1'
even I’ve set a validation using sourceSearch and the command counts 3 <iframe elements.
What other validations could I do, to avod the error in command selectFrame | index=1 | |
?
This is part f the macro I have.
{
"Name": "CheckIfIframe",
"CreationDate": "2024-12-8",
"Commands": [
{
"Command": "label",
"Target": "CheckIFrame",
"Value": "",
"Description": ""
},
{
"Command": "sourceSearch",
"Target": "regex=/<iframe /i",
"Value": "iframe",
"Description": ""
},
{
"Command": "echo",
"Target": "iframes=${iframe}",
"Value": "green",
"Description": ""
},
{
"Command": "if",
"Target": "${iframe} == 0",
"Value": "",
"Description": ""
},
{
"Command": "gotoLabel",
"Target": "CheckIFrame",
"Value": "",
"Description": ""
},
{
"Command": "end",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "selectFrame",
"Target": "index=1",
"Value": "",
"Description": ""
},
{
"Command": "selectFrame",
"Target": "index=1",
"Value": "",
"Description": ""
}
]
}