← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255743]: Script gets stuck (stops) on "click(region.exists(img))"

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
There are a couple of issues with your code.

Try something like this:

while True:
    if exists("PostClickableButton.png"):
        SCREEN.getLastMatch.click()
    
    wait(delayTime)


Eugene

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