sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37547
Re: [Question #290134]: Can't get a basic app to run -- app isRunning reports false
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.