← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166088]: need help in this

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
for m in range(200):
    if exists("image-of-next-button.png", 20): 
        click(getLastMatch())
    else:
        click("image-of-skip-this-video-button")

If the next-button does not come up within 20 seconds, we try to click
the other button (which has to be visible in this case!)

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