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

    Status: Open => Answered

RaiMan proposed the following answer:
this seems to be the most reliable sequence (the wait()s do the trick -
might even need to be longer on slow machines)

b = App("Google Chrome")
if b.isRunning():
  b.close()
  wait(1)
b.open(); wait(1)
b.close();wait(1)

more info:
http://sikulix-2014.readthedocs.org/en/latest/appclass.html#App

-- 
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