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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, but isRunning() is not yet implemented on Linux.

It should issue an appropriate error message or at least be mentioned in
the docs.

anyway you should work with one app instance only:
<code>
firefox = App("firefox")
firefox.open()
while not firefox.isRunning():
    print "Waiting for firefox.isRunning"
    wait(1)

firefox.focus()
...
...
firefox.close()
</code>

instead of isRunning() you might try with hasWindow(), which should work
on Linux.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to