{
“Name”: “Connect and Set Proxy”,
“CreationDate”: “2024-5-27”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://www.google.com”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “csvRead”,
“Target”: “Connect-gmail.csv”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return 1;”,
“Value”: “currentRow”,
“Description”: “”
},
{
“Command”: “while”,
“Target”: “${currentRow} <= ${!csvReadMaxRow}”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “${currentRow}”,
“Value”: “!csvReadLineNumber”,
“Description”: “”
},
{
“Command”: “csvRead”,
“Target”: “Connect-gmail.csv”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “setProxy”,
“Target”: “”,
“Value”: “${!COL4}”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “10000”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “open”,
“Target”: “https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&ifkv=AaSxoQynP3SFefcSs8edfeS6AS9LzZcBEOmiJ6eXIuAdYPKpzZVLVtE_KDpcMwXvAyOokstAQh73VA&rip=1&sacu=1&service=mail&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S1728456181%3A1715679668462853&ddm=0”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “waitForPageToLoad”,
“Target”: “”,
“Value”: “10000”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “name=identifier”,
“Value”: “${!COL1}”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=identifierNext”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “2000”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “name=password”,
“Value”: “${!COL2}”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=passwordNext”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “5000”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “echo”,
“Target”: “Logged in to Gmail with proxy ${!COL4}”,
“Value”: “green”,
“Description”: “”
},
{
“Command”: “setProxy”,
“Target”: “direct”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return ${currentRow} + 1;”,
“Value”: “currentRow”,
“Description”: “”
},
{
“Command”: “endWhile”,
“Target”: “”,
“Value”: “”,
“Description”: “”
}
]
}
make sure there is 4th column in CSV
{
"Command": "csvRead",
"Target": "Connect-gmail.csv",
"Value": "",
"Description": ""
},
{
"Command": "echo",
"Target": "${!COL4}",
"Value": "",
"Description": ""
}