0% found this document useful (0 votes)
14 views6 pages

5-P Yahoo Behamer

The document outlines a JavaScript configuration for a web automation task that involves navigating to a list of URLs, waiting for page elements to load, scrolling, and clicking specific elements on the pages. It includes random wait times and smooth scrolling to enhance the user experience during the automation process. The script is structured to handle multiple URLs and perform a series of actions on each one sequentially.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views6 pages

5-P Yahoo Behamer

The document outlines a JavaScript configuration for a web automation task that involves navigating to a list of URLs, waiting for page elements to load, scrolling, and clicking specific elements on the pages. It includes random wait times and smooth scrolling to enhance the user experience during the automation process. The script is structured to handle multiple URLs and perform a series of actions on each one sequentially.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

[

{
"type": "javaScript",
"config": {
"params": [],
"content": "return
JSON.stringify([\n'https://r.search.yahoo.com/_ylt=Awr92C3KuNBlfI8IV0pXNyoA;_ylu=Y2
9sbwNncTEEcG9zAzMEdnRpZAMEc2VjA3Ny/RV=2/RE=1709387210/RO=10/RU=https%3a%2f
%2fbehamer.com%2fbest-car-accident-personal-injury-attorneys-behamer-com-llc%2f/
RK=2/RS=d7L6dGyM79nTa1fTKrpPiCCLVrU-',\n].sort(() => .5 - Math.random()));",
"variable": "urlStr",
"remark": ""
}
},
{
"type": "toJson",
"config": {
"content": "urlStr",
"variable": "urlArray",
"remark": ""
}
},
{
"type": "newPage",
"config": {}
},
{
"type": "closeOtherPage",
"config": {}
},
{
"type": "forLists",
"config": {
"content": "urlArray",
"variableIndex": "for_lits_index",
"variable": "for_lits_item",
"children": [
{
"type": "gotoUrl",
"config": {
"url": "${for_lits_item}",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitForSelector",
"config": {
"selector": "body",
"serial": 1,
"isShow": "1",
"timeout": 30000,
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 10000,
"timeoutMin": 20000,
"timeoutMax": 30000,
"remark": ""
}
},
{
"type": "scrollPage",
"config": {
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": ""
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#post-413 > div > div > div.relpost-thumb-wrapper > div >
div.relpost-block-container > a:nth-child(4) > div > div.relpost-block-single-
text",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 15000,
"timeoutMin": 20000,
"timeoutMax": 30000,
"remark": ""
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": "",
"_copyItemIndex": "0_3_3",
"_copyItemType": "children_children"
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#post-525 > div > div > div.relpost-thumb-wrapper > div >
div.relpost-block-container > a:nth-child(6) > div > div.relpost-block-single-
text",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": ""
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 10000,
"timeoutMin": 20000,
"timeoutMax": 30000,
"remark": "",
"_copyItemIndex": "0_3_5",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": "",
"_copyItemIndex": "0_3_6",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 666,
"type": "smooth",
"scrollType": "position",
"position": "middle",
"remark": "",
"_copyItemIndex": "0_4_9",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": "",
"_copyItemIndex": "0_4_10",
"_copyItemType": "children_children"
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#post-436 > div > div > div.relpost-thumb-wrapper > div >
div.relpost-block-container > a:nth-child(8) > div > div.relpost-block-single-
text",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_3_7",
"_copyItemType": "children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 10000,
"timeoutMin": 20000,
"timeoutMax": 30000,
"remark": "",
"_copyItemIndex": "0_3_8",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": "",
"_copyItemIndex": "0_3_9",
"_copyItemType": "children_children"
}
},
{
"type": "click",
"config": {
"selectorRadio": "CSS",
"selector": "#post-428 > div > div > div.relpost-thumb-wrapper > div >
div.relpost-block-container > a:nth-child(2) > div > div.relpost-block-single-
text",
"selectorType": "selector",
"element": "",
"serialType": "fixedValue",
"serial": 1,
"serialMin": 1,
"serialMax": 50,
"button": "left",
"type": "click",
"remark": "",
"_copyItemIndex": "0_3_10",
"_copyItemType": "children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 10000,
"timeoutMin": 20000,
"timeoutMax": 30000,
"remark": "",
"_copyItemIndex": "0_3_11",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "smooth",
"scrollType": "position",
"position": "bottom",
"remark": "",
"_copyItemIndex": "0_4_17",
"_copyItemType": "children_children"
}
},
{
"type": "waitTime",
"config": {
"timeoutType": "randomInterval",
"timeout": 10000,
"timeoutMin": 3000,
"timeoutMax": 5000,
"remark": "",
"_copyItemIndex": "0_4_14",
"_copyItemType": "children_children"
}
},
{
"type": "scrollPage",
"config": {
"rangeType": "window",
"selectorRadio": "CSS",
"selector": "",
"serial": 1,
"distance": 0,
"type": "moment",
"scrollType": "position",
"position": "top",
"remark": ""
}
}
],
"remark": "",
"hiddenChildren": false
}
}
]

You might also like