← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #707139]: [2.0.4] switchApp not telling apart windows of the same application

 

Question #707139 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707139

RaiMan proposed the following answer:
Sorry, but I have to confirm the behavior.

Even in 2.0.6, where some App class enhancements have been made, it is not working.
So I do not have any solution using SikuliX App features currently.

But this might be a workaround:
having 2 or more Chrome windows/tabs open:

switchApp("Google")
wait(1) # might not be needed
type("a", Key.SHIFT+Key.CTRL) # start tab search
type("part of window/tab title")
type(Key.ENTER)
wait(3)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.