15 May 18:57
Re: Watir: How to return a Watir::IE object for an existing
From: Charley Baker <charley.baker <at> gmail.com>
Subject: Re: Watir: How to return a Watir::IE object for an existing
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:57:02 GMT
Subject: Re: Watir: How to return a Watir::IE object for an existing
Newsgroups: gmane.comp.lang.ruby.general
Date: 2008-05-15 16:57:02 GMT
Anukul Singhal wrote: > Hi, > > I just wanted to know what code would be used to return a Watir::IE > object for an existing IE window. Can anyone help in this regard? > > Thanks, > Anukul require 'watir' browser = Watir::IE.attach(:title, //) # you could also specify a title or partial title by regex There's more information about Watir on our site: http://wtr.rubyforge.org/documentation.html as well as Watir google group that you might want to post to for specific questions. http://wtr.rubyforge.org/community.html -Charley -- -- Posted via http://www.ruby-forum.com/.
RSS Feed