← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #290134]: [1.1.0] Linux: App.isRunning always reports false --- not yet implemented

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, then you have to do it this way (apparently hasWindow() does not
work on Linux either, sorry for that).

firefox = App("firefox")
firefox.focus() # should start it if not running yet
while not firefox.window():
    wait(1)
ffWindow =  Region(firefox.window())
# now use ffWindow

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