Question #668018 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/668018

RaiMan posted a new comment:
not sure, who told you "it could not be done"

Your solution is a bit overkill and if the image is not found, it will
loop forever.

this works in all cases and is fast.

max = 10 # how often to scroll max
while max > 0:
    if not exists("1524078692187.png", 0):
        wheel(WHEEL_DOWN,7)
        max -= 1
    else:
        max = -1 # to show it is there
        break
if max > -1:
    print "image not on page"
    exit(1)
# image was found, we can proceed
found = getLastMatch() # here is the image

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to