sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27069
Re: [Question #251682]: Mac: focusedWindow taking very long and returns null
Question #251682 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251682
Status: Answered => Solved
tombrus confirmed that the question is solved:
Understand RaiMan...
I need my tests to be running on Mac & Windows & Linux, so I need the
full range of platforms supported.
I implemented a workaround: if it takes more then 500ms to get the
focussed window (done in a separate thread) I time out and regard it as
an indication that a dialog is up. If the other platforms behave well
this timeout will never be reached and the same code will behave nicely.
Will do for now...
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.