I have a CSV files that includes URL links from A1…n
and would like to open URL and click and then open another URL and do same flow.
{
"Name": "test1",
"CreationDate": "2022-4-4",
"Commands": [
{
"Command": "csvRead",
"Target": "ID.csv",
"Value": "",
"Description": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "return Number (1)",
"Value": "currentRow",
"Description": ""
},
{
"Command": "while_v2",
"Target": "${currentRow} <= ${!CSVREADMAXROW}",
"Value": "",
"Description": ""
},
{
"Command": "open",
"Target": "${!COL1}",
"Value": "!CSVREADLINENUMBER",
"Description": ""
},
{
"Command": "store",
"Target": "60, !TIMEOUT_PAGELOAD",
"Value": "",
"Description": ""
},
{
"Command": "store",
"Target": "${!csvReadMaxRow}",
"Value": "!csvReadLineNumber",
"Description": ""
},
{
"Command": "click",
"Target": "xpath=//*[@id=\"root\"]/div/div/div[4]/div[2]/div[3]/button/span[2]",
"Value": "",
"Targets": [
"xpath=//*[@id=\"root\"]/div/div/div[4]/div[2]/div[3]/button/span[2]",
"xpath=//div[4]/div[2]/div[3]/button/span[2]",
"css=#root > div > div:nth-child(1) > div.AnEAIdzFIAqVpfrXHXRH > div._NcOCI2PXQzgPtM5zKfO > div:nth-child(3) > button > span.Button-label"
],
"Description": ""
},
{
"Command": "click",
"Target": "xpath=//*[@id=\"dropdown-menu-item-content-98\"]/div/div/div",
"Value": "",
"Targets": [
"xpath=//*[@id=\"dropdown-menu-item-content-98\"]/div/div/div",
"xpath=//li[2]/div/div/div/div",
"css=#dropdown-menu-item-content-98 > div > div > div"
],
"Description": ""
},
{
"Command": "end",
"Target": "",
"Value": "",
"Description": ""
}
]
}
it keeps loading A1 URL with same tab,