Hello,
There is this another script by a member which simulates website visits do scroll on the page and and then click on internal link of the website. Could some one help me to add a loop to click random number of internal pages (eg. 0 to 5) and also simulate mouse movements on the pages.
await Delay(Random(2500,3000));
await WaitForLoading();
do { //scroll
scrl = Random(3,9);
for (var i = 1; i < scrl; i++) {
await EvaluateScript("var ddE = document.documentElement; ddE.scrollTo(0, ddE.clientHeight/(Math.floor(Math.random()*3)+9) + ddE.scrollTop);");
await Delay(Random(100,150));
}
await Delay (Random(1000,1500));
} while (await EvaluateScript("var ddE = document.documentElement; ddE.clientHeight+ddE.scrollTop < ddE.scrollHeight"))
await Delay(Random(5000,7000));
await ClickRandomInternalLink(true);
await Delay(Random(2500,3000));
await WaitForLoading();
Exit();
Thanks
Naseer
There is this another script by a member which simulates website visits do scroll on the page and and then click on internal link of the website. Could some one help me to add a loop to click random number of internal pages (eg. 0 to 5) and also simulate mouse movements on the pages.
await Delay(Random(2500,3000));
await WaitForLoading();
do { //scroll
scrl = Random(3,9);
for (var i = 1; i < scrl; i++) {
await EvaluateScript("var ddE = document.documentElement; ddE.scrollTo(0, ddE.clientHeight/(Math.floor(Math.random()*3)+9) + ddE.scrollTop);");
await Delay(Random(100,150));
}
await Delay (Random(1000,1500));
} while (await EvaluateScript("var ddE = document.documentElement; ddE.clientHeight+ddE.scrollTop < ddE.scrollHeight"))
await Delay(Random(5000,7000));
await ClickRandomInternalLink(true);
await Delay(Random(2500,3000));
await WaitForLoading();
Exit();
Thanks
Naseer