← Back to team overview

sikuli-driver team mailing list archive

[Question #179795]: can't figure out looping

 

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

I want to scan through a page looking for an image.
when image is found, 
click the image,
 then keep scanning.

after looking through these sections I have this:

found = True
while not exists("loadmorecomm-2.png"):
    type(Key.PAGE_DOWN)        
if found:
    click("loadmorecomm-2.png")

this doesn't do it, because I can't figure out how to get it to start over.


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