代码拉取完成,页面将自动刷新
[
{
"type": "closeOtherPage",
"config": {}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "closePage",
"config": {}
},
{
"type": "newPage",
"config": {}
},
{
"type": "javaScript",
"config": {
"params": [
"acc_id"
],
"content": "var info = {};\n\ntry {\n const url = 'http://localhost:8080/api/ads/getWalletByAdsId?adsId=' + acc_id;\n\n const response = await fetch(url);\n const data = await response.json();\n info = data.data.walletPrivateKey;\n\n } catch (error) {\n\n info = '请求失败!!'\n\n }\n\nreturn info;",
"variable": "walletPrivateKey",
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [
"acc_id"
],
"content": "var info = {};\n\ntry {\n const url ='http://localhost:8080/api/ads/getInitiaWalletInfoByAdsId?adsId=' + acc_id;\n\n const response = await fetch(url);\n const data = await response.json();\n info = data.data;\n\n } catch (error) {\n\n info = '请求失败!!'\n\n }\n\nreturn JSON.stringify(info);",
"variable": "data",
"remark": ""
}
},
{
"type": "toJson",
"config": {
"content": "data",
"variable": "walletData",
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "let randomNumber = Math.random() * (2 - 1) + 1;\n randomNumber = randomNumber.toFixed(2);\n\n return parseFloat(randomNumber);",
"variable": "randomNumber",
"remark": ""
}
},
{
"type": "extractKey",
"config": {
"content": "walletData",
"key": "initiaWalletKey",
"variable": "initiaWalletKey",
"remark": ""
}
},
{
"type": "gotoUrl",
"config": {
"url": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html#/",
"timeout": 180000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root>div>form>div>div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "Hello",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"Hello"
],
"relation": "equal",
"result": "👋 Hello!",
"hiddenChildren": false,
"children": [
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${initiaWalletKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
}
],
"remark": "",
"other": [
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/div[3]/a[3]",
"serial": 1,
"isShow": "1",
"timeout": 18000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/div[3]/a[3]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div[1]/div/input",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div[1]/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${initiaWalletKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div[2]/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${initiaWalletKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": "",
"_copyItemIndex": "0_7",
"_copyItemType": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div[3]/div/div[1]/input",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "//*[@id=\"root\"]/div/div/div[2]/form/div[2]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_9",
"_copyItemType": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div/input",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[1]/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${walletPrivateKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/div[2]/form/div[2]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "导入完成,执行ll",
"_copyItemIndex": "0_12",
"_copyItemType": ""
}
}
]
}
},
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://app.testnet.initia.xyz/xp",
"timeout": 180000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix",
"serial": 1,
"isShow": "1",
"timeout": 60000,
"variable": "",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-1tpbqot > div.mantine-17pudyo > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-15ejzzg > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": "",
"_copyItemIndex": "0_15",
"_copyItemType": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"selectWallet"
],
"relation": "equal",
"result": "Connect",
"hiddenChildren": false,
"children": [
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[4]/div/button/div/div",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_17_0",
"_copyItemType": "children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 2000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "const aa = document.querySelector('initia-onboard');\n\nif (aa) {\n const shadow_root = aa.shadowRoot;\n const el = shadow_root.querySelector('div > main > div > div > div.desktop.svelte-2jsizg > div:nth-child(1) > div > div > button:nth-child(2)');\n if (el) {\n el.click();\n }\n}",
"variable": "",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 10000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [
"acc_id"
],
"content": "var info = {};\n\ntry {\n const url = 'http://localhost:8080/api/ads/getWalletByAdsId?adsId=' + acc_id;\n\n const response = await fetch(url);\n const data = await response.json();\n info = data.data.metamaskKey;\n\n } catch (error) {\n\n info = '请求失败!!'\n\n }\n\nreturn info;",
"variable": "metamaskKey",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix > div:nth-child(2) > div.mantine-Stack-root.mantine-wr51h2 > div.mantine-fxox9l > div > div.mantine-Center-root.mantine-1c9aqjj > button > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "complete",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"complete"
],
"relation": "equal",
"result": "Mint",
"hiddenChildren": false,
"children": [],
"remark": "",
"other": [
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://usernames.testnet.initia.xyz/",
"timeout": 180000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "function getRandomLetter() {\n const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';\n return letters.charAt(Math.floor(Math.random() * letters.length));\n}\n\nfunction getRandomString(minLength, maxLength) {\n const length = Math.floor(Math.random() * (maxLength - minLength + 1)) + minLength;\n let randomString = '';\n for (let i = 0; i < length; i++) {\n randomString += getRandomLetter();\n }\n return randomString;\n}\n\nconst randomString = getRandomString(6, 7);\nreturn randomString;",
"variable": "com",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/form/div/div/input",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/form/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${com}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "keyboard",
"config": {
"type": "Enter",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div > div > div",
"serial": 1,
"isShow": "1",
"timeout": 120000,
"variable": "",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-1tpbqot > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-15ejzzg > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": "",
"_copyItemIndex": "0_21_9",
"_copyItemType": "other_other"
}
},
{
"type": "ifElse",
"config": {
"condition": [
"selectWallet"
],
"relation": "equal",
"result": "Connect",
"hiddenChildren": false,
"children": [
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[4]/div/button/div/div",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_21_10_0",
"_copyItemType": "other_children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 2000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "const aa = document.querySelector('initia-onboard');\n\nif (aa) {\n const shadow_root = aa.shadowRoot;\n const el = shadow_root.querySelector('div > main > div > div > div.desktop.svelte-2jsizg > div:nth-child(1) > div > div > button:nth-child(2)');\n if (el) {\n el.click();\n }\n}",
"variable": "",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 15000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/div/form/div/div[2]/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_11",
"_copyItemType": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "",
"_copyItemIndex": "0_5",
"_copyItemType": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${metamaskKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 25000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[3]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 35000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "https://usernames.testnet.initia.xyz/result",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/section/div[2]/div/button",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/section/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 40000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "ll完成,执行lll",
"_copyItemIndex": "0_24",
"_copyItemType": ""
}
}
]
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "https://app.testnet.initia.xyz/xp",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "ll完成,执行lll"
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix > div:nth-child(3) > div.mantine-Stack-root.mantine-wr51h2 > div.mantine-fxox9l > div > div.mantine-Center-root.mantine-1c9aqjj > button > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "complete",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"complete"
],
"relation": "equal",
"result": "Mint",
"hiddenChildren": false,
"children": [],
"remark": "",
"other": [
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://app.testnet.initia.xyz/swap?from=INIT&to=USDC",
"timeout": 180000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > form > div.mantine-1qmugn3 > div > div > div:nth-child(1) > div > div > div > div > div",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-1tpbqot > div.mantine-17pudyo > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-15ejzzg > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": "",
"_copyItemIndex": "0_25_3",
"_copyItemType": "other_other"
}
},
{
"type": "ifElse",
"config": {
"condition": [
"selectWallet"
],
"relation": "equal",
"result": "Connect",
"hiddenChildren": false,
"children": [
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "//*[@id=\"root\"]/div/header/div/div/div/div[4]/div[3]/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_25_5_0",
"_copyItemType": "other_children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 2000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "const aa = document.querySelector('initia-onboard');\n\nif (aa) {\n const shadow_root = aa.shadowRoot;\n const el = shadow_root.querySelector('div > main > div > div > div.desktop.svelte-2jsizg > div:nth-child(1) > div > div > button:nth-child(2)');\n if (el) {\n el.click();\n }\n}",
"variable": "",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/div[1]/div[2]/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${randomNumber}",
"randomInputNum": {
"min": 1,
"max": 2
},
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${metamaskKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[3]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 30000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "lll完成,执行llll",
"_copyItemIndex": "0_28",
"_copyItemType": ""
}
}
]
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "https://app.testnet.initia.xyz/xp",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "lll完成,执行llll"
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix > div:nth-child(4) > div.mantine-Stack-root.mantine-wr51h2 > div.mantine-fxox9l > div > div.mantine-Center-root.mantine-1c9aqjj > button > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "complete",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"complete"
],
"relation": "equal",
"result": "Mint",
"hiddenChildren": false,
"children": [],
"remark": "",
"other": [
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://app.testnet.initia.xyz/stake/INIT",
"timeout": 180000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > form > div.mantine-1qmugn3 > div > div > div > div > div.mantine-5vtaxv > div > div > div",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-1tpbqot > div.mantine-17pudyo > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-15ejzzg > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": "",
"_copyItemIndex": "0_29_4",
"_copyItemType": "other_other"
}
},
{
"type": "ifElse",
"config": {
"condition": [
"selectWallet"
],
"relation": "equal",
"result": "Connect",
"hiddenChildren": false,
"children": [
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[4]/div[3]/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_29_5_0",
"_copyItemType": "other_children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "const aa = document.querySelector('initia-onboard');\n\nif (aa) {\n const shadow_root = aa.shadowRoot;\n const el = shadow_root.querySelector('div > main > div > div > div.desktop.svelte-2jsizg > div:nth-child(1) > div > div > button:nth-child(2)');\n if (el) {\n el.click();\n }\n}",
"variable": "",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [
"acc_id"
],
"content": "var info = {};\n\ntry {\n const url = 'http://localhost:8080/api/ads/getWalletByAdsId?adsId=' + acc_id;\n\n const response = await fetch(url);\n const data = await response.json();\n info = data.data.metamaskKey;\n\n } catch (error) {\n\n info = '请求失败!!'\n\n }\n\nreturn info;",
"variable": "metamaskKey",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/div/div[2]/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${randomNumber}",
"randomInputNum": {
"min": 1,
"max": 2
},
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 3600000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/div[2]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": "",
"_copyItemIndex": "0_11",
"_copyItemType": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/div[2]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_12",
"_copyItemType": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${metamaskKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[3]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 30000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
}
]
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "https://app.testnet.initia.xyz/xp",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "llll完,执行lllll"
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix > div:nth-child(5) > div.mantine-Stack-root.mantine-wr51h2 > div.mantine-fxox9l > div > div.mantine-Center-root.mantine-1c9aqjj > button > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "complete",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"complete"
],
"relation": "equal",
"result": "Mint",
"hiddenChildren": false,
"children": [],
"remark": "",
"other": [
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://app.testnet.initia.xyz/stake/USDC-INIT?fromXp=true",
"timeout": 180000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > form > div.mantine-1qmugn3 > div > div > div > div > div.mantine-5vtaxv > div > div > div",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-1tpbqot > div.mantine-17pudyo > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > header > div > div > div > div.mantine-MediaQuery-media.mantine-15ejzzg > div > button > div > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "selectWallet",
"remark": "",
"_copyItemIndex": "0_33_4",
"_copyItemType": "other_other"
}
},
{
"type": "ifElse",
"config": {
"condition": [
"selectWallet"
],
"relation": "equal",
"result": "Connect",
"hiddenChildren": false,
"children": [
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[4]/div[3]/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/header/div/div/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_33_6_0",
"_copyItemType": "other_children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [],
"content": "const aa = document.querySelector('initia-onboard');\n\nif (aa) {\n const shadow_root = aa.shadowRoot;\n const el = shadow_root.querySelector('div > main > div > div > div.desktop.svelte-2jsizg > div:nth-child(1) > div > div > button:nth-child(2)');\n if (el) {\n el.click();\n }\n}",
"variable": "",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 2000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/div/div/div[2]/button/div/div/div[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[2]/div/div/div/div[1]/button/div/div/div[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_34_7",
"_copyItemType": "other_other"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": "2"
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/form/div[3]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/div[2]/div/div/button[2]",
"serial": 1,
"isShow": "1",
"timeout": 180000,
"variable": "",
"remark": "3",
"_copyItemIndex": "0_11",
"_copyItemType": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div/div[2]/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_12",
"_copyItemType": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${metamaskKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[3]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 30000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "lllll完成,执行llllll",
"_copyItemIndex": "0_36",
"_copyItemType": ""
}
}
]
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "https://app.testnet.initia.xyz/xp",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "lllll完成,执行llllll"
}
},
{
"type": "getElement",
"config": {
"selectorRadio": "CSS",
"selector": "#root > div > div > main > div > div.mantine-Stack-root.mantine-1uuuflr > div.mantine-SimpleGrid-root.mantine-ui9jix > div:nth-child(6) > div.mantine-Stack-root.mantine-wr51h2 > div.mantine-fxox9l > div > div.mantine-Center-root.mantine-1c9aqjj > button > div",
"serial": 1,
"selectorType": "selector",
"serialType": "fixedValue",
"serialMin": 1,
"serialMax": 50,
"element": "",
"type": "innerText",
"key": "",
"variable": "complete",
"remark": "",
"_copyItemIndex": "0_33",
"_copyItemType": ""
}
},
{
"type": "ifElse",
"config": {
"condition": [
"complete"
],
"relation": "equal",
"result": "Mint",
"hiddenChildren": false,
"children": [],
"remark": "",
"other": [
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/div/div[1]/div[3]/div[6]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 5000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "switchPage",
"config": {
"type": "url",
"relation": "equal",
"content": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/div/div/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${metamaskKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[2]/div/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/form/div/div[3]/div/div/div/button[2]",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_38_5",
"_copyItemType": "other_other"
}
}
]
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 15000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
}
]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。