On Thu, Sep 29, 2011 at 8:54 AM, Ivan Chung <[email protected]> wrote:
> It is having problem where the command
> prompt window is in front of the browser. My scripts that has
> autoit.send failed due to the browser is at background.

This should do it:

browser.bring_to_front

http://rubydoc.info/gems/watir/2.0.2/Watir/IE:bring_to_front

Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to