Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   716

I Need help with my UI VISION imacros script.

by oogabooga199 - 04 March, 2023 - 06:48 PM
This post is by a banned member (oogabooga199) - Unhide
32
Posts
5
Threads
1 Year of service
#1
{
  "Name": "ice 2",
  "CreationDate": "2023-3-4",
  "Commands": [
    {
      "Command": "csvRead",
      "Target": "accounts.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "csvRead",
      "Target": "proxies.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "storeEval // var proxies = '${!csvReadResult}'.split('\\n'); proxies[Math.floor(Math.random() * proxies.length)];",
      "Value": "!VAR1",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.iceland.co.uk/login",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${!COL1}",
      "Value": "emailpass",
      "Description": ""
    },
    {
      "Command": "executeScript_Sandbox",
      "Target": "let parts = '${emailpass}'.split(':'); [parts[0], parts[1]]",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "id=dwfrm_login_username",
      "Value": "${!csvLine[0]}",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "id=dwfrm_login_password",
      "Value": "${!csvLine[1]}",
      "Description": ""
    },
    {
      "Command": "storeEval",
      "Target": "document.getElementsByName('_csrf_token')[0].value",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.iceland.co.uk/on/demandware.store/Sites-icelandfoodsuk-Site/default/Login-LoginForm",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "executeScript_Sandbox",
      "Target": "if (window.location.href == 'https://www.iceland.co.uk/login') 'fail'; else 'success';",
      "Value": "!reponse",
      "Description": ""
    },
    {
      "Command": "endIf",
      "Target": "'${!reponse}' == 'success'",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "${!COL1}:${!COL2} found!",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "csvSave",
      "Target": "valid_accounts.txt",
      "Value": "${!csvLine}",
      "Description": ""
    },
    {
      "Command": "endIf",
      "Target": "",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.iceland.co.uk/login",
      "Value": "",
      "Description": ""
    }
  ]
}

It keeps telling me its undefined when it types email and pass it keeps typuing undefined
ACCOUNTS & CONFIGS: https://shoppy.gg/@gangstarrr

KRISPE KREME
PAYPAL
ICELAND
SUPERDRUG
COOPERATVE
FOODHUB
This post is by a banned member (provusking) - Unhide
92
Posts
0
Threads
2 Years of service
#2
add fisthack on telegram

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)