← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #674079]: Click where an image was found

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- solution:
if exists(image)
    click()

--- background
exists() searches the screen.
click() without specifying a region (like: someReg.click()) simply clicks the last match of the given region, which is the screen in this case.

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