sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09493
Re: [Question #191426]: Assert exists on focused window
Question #191426 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191426
RaiMan proposed the following answer:
--- So, I would try to convert it to some Sikuli type, which has that method.
App.focusedWindow() returns a Region of the window of the active app, that is the frontmost.
So if it has worked before, now in the new setup, it does not exist a
frontmost window or the call comes too fast after the last action, that
influenced the GUI.
So I would first try to insert a wait(2) before the App.focusedWindow()
and see what happens. If it works now, the waiting time can be reduced
to a suitable value.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.