sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11096
Re: [Question #200117]: Get region for chrome on windows
Question #200117 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200117
Status: Open => Answered
RaiMan proposed the following answer:
tested on Win7, same Chrome version:
works perfectly for me, either with "Chrome" or "Google Chrome"
a = App("Chrome")
for i in range(100):
w = a.window(i)
if not w: break
print i, " # ", w
wait(2)
a.focus
wait(2)
- all windows are printed
- the frontmost window gets focused
the wait()'s help to see the actions.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.