Scroll down mouse

maximusk

New Member
Rule The Galaxy
VIP
Joined
Jan 15, 2020
Messages
1
Reaction score
0
Achievement
Hi everyone,

Please help me this macro: scroll down mouse after loading site, waiting for some seconds and click on the button

Thank you !
 

opsfafsme

Well-Known Member
Rule The Universe
VIP
Joined
Jul 2, 2018
Messages
243
Reaction score
92
Website
OnlinePiercingShop.com
Achievement
Hi everyone,

Please help me this macro: scroll down mouse after loading site, waiting for some seconds and click on the button

Thank you !
JavaScript:
await Delay(Random(2500,3000));
await WaitForLoading();
var scrl;
do {
  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));
// click button by class or xpath
 
  • Love
Reactions: maximusk

SvenMayer

New Member
Premium
Joined
Jul 6, 2021
Messages
1
Reaction score
0
Achievement
JavaScript:
await Delay(Random(2500,3000));
await WaitForLoading();
var scrl;
do {
  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));
// click button by class or xpath
Hi!

How to scroll up the same way?

Thanks!
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu