← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #617173]: Need to click a checkbox against select text, where text is changing frequently

 

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

    Status: Open => Answered

masuo proposed the following answer:
I think that exists() feature is useful in this case.

if exists("orange.png",0):
    click("orange.png")
elif exists("mango.png",0):
    click("orange.png")
elif exists("apple.png",0):
    click("apple.png")

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