Every so often Kantu will fail to click a button, saying Error #101: Kantu is not connected to a browser tab
What’s odd is that even when I add if ${!statusOK} == false gotoLabel Retry
, that will fail as well with the same #101 error.
The search button always has the same ID.
{
"Command": "csvRead",
"Target": "Relevant CSV file",
"Value": ""
},
{
"Command": "echo",
"Target": "Name: ${!COL1}, Row: ${!LOOP}",
"Value": ""
},
{
"Command": "open",
"Target": "Our SF Site",
"Value": ""
},
{
"Command": "type",
"Target": "id=phSearchInput",
"Value": "${!COL1}"
},
{
"Command": "pause",
"Target": "500",
"Value": ""
},
{
"Command": "store",
"Target": "true",
"Value": "!errorIgnore"
},
{
"Command": "label",
"Target": "Retry",
"Value": ""
},
{
"Command": "clickAndWait",
"Target": "id=phSearchButton",
"Value": ""
},
{
"Command": "if",
"Target": "${!statusOK} == false",
"Value": ""
},
{
"Command": "store",
"Target": "true",
"Value": "!statusOK"
},
{
"Command": "gotoLabel",
"Target": "Retry",
"Value": ""
},
{
"Command": "endif",
"Target": "",
"Value": ""
},
{
"Command": "store",
"Target": "false",
"Value": "!errorIgnore"
}