← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #292399]: [1.1.0] Sikuli App object throws java.lang.ArrayIndexOutOfBoundsException

 

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.