← 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: Answered => Open

Divick is still having a problem:
With this suggestion, it still waits indefinitely. Code:

<code>
firefox = App("firefox")
firefox.focus()

while not firefox.window():
    print "Waiting for firefox window..."
    wait(1)
    
ffWindow = Region(firefox.window())
print "Now trying to type in the address"
type('l', KEY_CTRL)
type("some-url" + Key.ENTER)
wait("1460032228591.png", 30)

firefox.close()
</code>

[debug] App.create: [-1:firefox]
[debug] App.focus:  [1:firefox]
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
Waiting for firefox window...
...

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