I'm using simba to automate a simple task in my browser.
Currently i'm using the code below to scroll using the right hand side bar on my chrome browser.
Code:
procedure scroll_4();
begin
mouse(944, 1005, 1);
HoldMouse(944, 1005, mouse_Left);
wait(800);
ReleaseMouse(944, 1005, mouse_Left);
wait(2000);
end
It uses a wait time and sometimes i find it a little unaccurate. Is there any better way to scroll down on a browser?
Perhaps scroll by the amount of pixels? Any help would be great, thank you.
Edited:
Just a thought, i could drag the bar down a certain amount of pixels. I think that may be more accurate.