← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215864]: SwitchApp on Latest FireFox window without unique PageTitle

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I am just working with a similar problem on Win/ with FF 14 (but should
not make any difference).

App("Mozilla Firefox").focus()

does not work at all for me. Firefox has some invisible windows open
(some with coordinates outside the screen and some with no size). The
focus selects one of these windows, which does not help.

I have no solution for that.

Since I open new Firefox windows from my script using ctrl-N, I have no
problems, since the new window has the focus after that.

A possible solution in your case (I use it, to close all open FF windows using alt-F4)
- click besides the orange FF menu in the top left of the window
should work, if only for the newly opened window this is fully visible

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.