This kind of automations are less reliable and require the browser window to be on focus. I go one working with the following code you might want to try to adopt to your page:
{
“Command”: “do”,
“Target”: “”,
“Value”: “/-- WHILE I CAN LOAD NEW MENU VALUES –\”,
“Description”: “”
},
{
“Command”: “executeScript”,
“Target”: “return ${myNbrDropDownMenuValues};”,
“Value”: “myNbrRememberDropDownMenuValues”,
“Description”: “Allows me to compare if we got more values. If not we got to the end”
},
{
“Command”: “XMouseWheel”,
“Target”: “700”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “100”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “sourceSearch”,
“Target”: “<div data-row-id="”,
“Value”: “myNbrDropDownMenuValues”,
“Description”: “GET NEW NUMBER OF DROPDOWN VALUES”
},
{
“Command”: “echo”,
“Target”: “${myNbrDropDownMenuValues} - ${myNbrRememberDropDownMenuValues}”,
“Value”: "green ",
“Description”: “GET NUMBER OF DROPDOWN VALUES”
},
{
“Command”: “repeatIf”,
“Target”: “(${myNbrDropDownMenuValues} != ${myNbrRememberDropDownMenuValues}) || (${myNbrDropDownMenuValues} < 26)”,
“Value”: “\– WHILE I CAN LOAD NEW MENU VALUES --/”,
“Description”: “Stops if we got to the end of the dropdown menu”
}