代码拉取完成,页面将自动刷新
[
{
"type": "closeOtherPage",
"config": {}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "closePage",
"config": {}
},
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "chrome-extension://ifibfemgeogfhoebkmokieepdoobkbpo/options/options.html",
"timeout": 30000,
"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.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": "javaScript",
"config": {
"params": [],
"content": "document.evaluate(\"/html/body/div/div[1]/table/tbody/tr[1]/td[2]/input\",document).iterateNext().value = \"\";\n\nreturn;",
"variable": "",
"remark": ""
}
},
{
"type": "toJson",
"config": {
"content": "data",
"variable": "walletData",
"remark": ""
}
},
{
"type": "extractKey",
"config": {
"content": "walletData",
"key": "2CaptchaApiKey",
"variable": "CaptchaApiKey",
"remark": "",
"_copyItemIndex": "0_9",
"_copyItemType": ""
}
},
{
"type": "extractKey",
"config": {
"content": "walletData",
"key": "initiaWalletKey",
"variable": "initiaWalletKey",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div/div[1]/table/tbody/tr[1]/td[2]/input",
"serialType": "fixedValue",
"selectorType": "selector",
"element": "",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"intervals": 30,
"content": "",
"isRandom": "0",
"randomContent": "${CaptchaApiKey}",
"randomInputNum": {
"min": 0.1,
"max": 10
},
"remark": "",
"_copyItemIndex": "0_7",
"_copyItemType": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#connect",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "chrome-extension://ffbceckpkpbcmgiaehlloocglmijnpmp/index.html#/",
"timeout": 30000,
"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": 30000,
"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": 30000,
"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": 30000,
"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": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div[1]/div/a[2]/div/div[1]/button",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div[1]/div/a[2]/div/div[1]/button",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "dblclick",
"remark": "",
"_copyItemIndex": "0_11",
"_copyItemType": ""
}
},
{
"type": "getClipboard",
"config": {
"variable": "Account1",
"remark": ""
}
},
{
"type": "javaScript",
"config": {
"params": [
"acc_id",
"Account1"
],
"content": "try {\n const url = \n'http://localhost:8080/api/ads/updateInitiaWalletInfoByAdsId?adsId=' + \nacc_id + '&initiaWalletAddress=' + Account1;\n\n const response = await fetch(url);\n const data = await response.json();\n\n } catch (error) {\n\n info = '请求失败!!'\n\n }\n\nreturn;",
"variable": "",
"remark": "",
"_copyItemIndex": "0_17_11",
"_copyItemType": "other_other"
}
},
{
"type": "newPage",
"config": {}
},
{
"type": "gotoUrl",
"config": {
"url": "https://faucet.testnet.initia.xyz/?address=${Account1}",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 20000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": "",
"_copyItemIndex": "0_21",
"_copyItemType": ""
}
},
{
"type": "waitForSelector",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/form/div/div[2]/div",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"variable": "",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/form/div/div[2]/div",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 60000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#altcha_checkbox",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 60000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "XPath",
"selector": "/html/body/div[1]/div/div/main/form/div/div[4]/button/div",
"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": "",
"_copyItemIndex": "0_23",
"_copyItemType": ""
}
}
]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。