sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08099
Re: [Question #184407]: Focus function call on Firefox app causes focus to be lost on app
Question #184407 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184407
Status: Open => Answered
RaiMan proposed the following answer:
I tested again with the following snippet:
ff = r"C:\Program Files\Mozilla Firefox\firefox.exe"
ffA = App("Mozilla Firefox")
if not ffA.window():
App.open(ff)
for i in range(10):
if ffA.window(): break
wait(1)
ffA.focus()
type("l", KeyModifier.CTRL)
paste("google.de")
type(Key.ENTER)
wait(2)
In all cases (FF open or not) finally I have the google webpage opened.
I am using FF 8 and it is Sikuli X-1.0rc3 (newest version from
http://sikuli.org/hudson).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.