New question #253901 on Sikuli:
https://answers.launchpad.net/sikuli/+question/253901

Hi,
I am automating a page where I am using following code to scroll down. The 
problem I am facing is when i try to scroll the center loc is plotted inside a 
grid, which already have some 5000+ entries and a scrollbar. So when the center 
location is plotted inside the grid i have to wait until all entries inside the 
grid are scrolled. Which result in unnecessary long execution time. is there 
any way by which I  can scroll the page instead of the scrollbar of a grid.

def ScrollAction(var,wheelScrollValue,scrollDirection):
    if scrollDirection == "downSide":
        while not exists(var):
            loc = SCREEN.getCenter()
            wheel(loc, WHEEL_DOWN, wheelScrollValue)
    


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to