← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #239762]: How to invoke click() or wait() function by importing jar

 

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

    Status: Open => Solved

Gin confirmed that the question is solved:
Em, I found the resolution by myself... wait() and click() function are
defined in Region class, with is extended by Screen. So I can use them
by following script:

--------------------------------------------------------------------------------------------------

from org.sikuli.script import Screen

s = Screen()
s.wait()
s.click()

...

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