RPA_Stripe批量自动创建支付链接

Stripe5个月前更新 Hilve
2,760 0 0

每个浏览器账户各创建一条支付链接

JSON流程

[cc lang=-”1 ang_name”]

[
{
"config": {},
"type": "newPage"
},
{
"type": "gotoUrl",
"config": {
"timeout": 100000,
"url": "https://dashboard.stripe.com/",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selector": "[href='\\/payments'] .Text-color--inherit span",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 1000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": "[href='\\/payments'] .Text-color--inherit span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selector": "[href='\\/payment-links'] .Text-color--dark span",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 1000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": "[href='\\/payment-links'] .Text-color--dark span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selector": ":root > :nth-child(2) > :nth-child(6) > :nth-child(1) > :nth-child(4) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(2) > :nth-child(1) > :nth-child(3) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(2) > :nth-child(2) > :nth-child(1)",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 1000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ":root > :nth-child(2) > :nth-child(6) > :nth-child(1) > :nth-child(4) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(2) > :nth-child(1) > :nth-child(3) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(2) > :nth-child(2) > :nth-child(1)",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "dblclick",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 750,
"timeoutMin": 500,
"timeoutMax": 2000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ".Icon--add-svg",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selector": ".db-FakeChromeWrapper",
"selectorType": "selector",
"element": "",
"serial": 1,
"intervals": 100,
"content": "Ripped Jeans and Jacket Set",
"isRandom": "1",
"randomContent": "Ripped Jeans and Jacket Set\r\nElastic Waist Skinny Pants\r\nLow Rise Skinny Stretch Pants\r\nHigh Waist Skinny Tailored Pants\r\nFront Drape Herringbone Mini Skirt\r\nBasic Sleeveless Top\r\nMixed Pattern Knit Sweater\r\nCropped Stripe Top\r\nPleated Cigarette Pants\r\nTurtleneck Ribbed Knit Dress\r\nCorset Top Strapless Dress\r\nFur Top Strapless Dress\r\nDrawstring Leather Shorts\r\nSingle Breasted Basic Coat\r\nPablo Striped T-Shirt\r\nLoose Denim Overalls\r\nStriped Mixed Cotton Overalls\r\nButton Collar Cardigan\r\nRock and Swag Racerback Long Tank Top\r\nStencil Detail Blouse\r\nPearl Button Double Breasted Jacket\r\nStraight Cut Denim Jeans\r\nLip Lick Sweater\r\nDeconstructed Fringe Knit Sweater\r\nRibbed Pocket Long Knit Cardigan\r\nSuper Short Cutoff Denim Shorts\r\nFuzzy Boxy Cardigan\r\nOff Shoulder Tulip Neck Dress\r\nStriped Cotton Boyfriend Shirt\r\nShort Lace Dress\r\nStretch Fit Blue Skinny Jeans\r\nSheer Lace Trench Coat\r\nDiagonal Zip Asymmetric Skirt\r\nZip Back Fur Sweater\r\nFringe Trim Short Coat\r\nBright Knit Pullover Sweater\r\nFuzzy Weave Open Cardigan\r\nWide Sleeve Knit Sweater\r\nThick Knit Long Cardigan\r\nVintage Skinny Jeans\r\nOverlap Back Cable Knit Sweater Vest\r\nRipped Boyfriend Jeans\r\nFluffy Button Up Knit Cardigan\r\nHigh Low Loose Fit Tee\r\nLace Cuffs Mini Dress\r\nRibbed Relaxed Fit Cardigan\r\nFall-Apart Denim Jeans\r\nGray Knit Short Coat\r\nPearl Trim Cardigan\r\nPastel Trench Coat",
"remark": "输入商品名字"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 913,
"timeoutMin": 274,
"timeoutMax": 2101,
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selector": ".PressableContext--radius--left",
"selectorType": "selector",
"element": "",
"serial": 1,
"intervals": 125,
"content": "0.5",
"isRandom": "0",
"randomContent": "0.5",
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ".PressableContext--cursor--pointer[type='submit'] .Button-label span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 3000,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "getElement",
"config": {
"selector": ".Text-fontSize--16.Text-fontWeight--regular span",
"serial": 1,
"selectorType": "selector",
"element": "",
"type": "object",
"key": "",
"variable": "",
"remark": ""
}
},
{
"type": "ifElse",
"config": {
"condition": "${task_name}",
"relation": "exist",
"result": "",
"children": [
{
"type": "ifElse",
"config": {
"condition": "${task_name}",
"relation": "contain",
"result": "Qq147258369..",
"children": [
{
"type": "click",
"config": {
"selector": ".UnstyledLink.Padding-horizontal--16 .Flex-justifyContent--center",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 8000,
"timeoutMin": 2000,
"timeoutMax": 3000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ".Flex-alignItems--baseline.Flex-wrap--nowrap span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
}
],
"remark": ""
}
},
{
"type": "inputContent",
"config": {
"selector": ".db-NewChrome",
"selectorType": "selector",
"element": "",
"serial": 1,
"intervals": 88,
"content": "Qq147258369..",
"isRandom": "0",
"randomContent": "Qq147258369..",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 1500,
"timeoutMin": 1000,
"timeoutMax": 300000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ".UnstyledLink.Padding-horizontal--16 .Flex-justifyContent--center",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "fixedValue",
"timeout": 6000,
"timeoutMin": 2000,
"timeoutMax": 3000,
"remark": ""
}
},
{
"type": "click",
"config": {
"selector": ".Flex-alignItems--baseline.Flex-wrap--nowrap span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
}
],
"remark": "",
"other": [
{
"type": "click",
"config": {
"selector": ".Flex-alignItems--baseline.Flex-wrap--nowrap span",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "完成"
}
}
]
}
}
]

[/cc]

 

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...