← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #632939]: Sikuli object identification fails if the browser is not in foreground

 

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

    Status: Open => Answered

masuo proposed the following answer:
The solution depends on the environment.
When os is Windows, App.focus() feature is valid.
http://sikulix-2014.readthedocs.io/en/latest/appclass.html?highlight=focus

[example:]
App.focus("chrome")

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