Wow, that was easy. Thanks a lot! :) On May 19, 5:08 pm, Ethan <notet...@gmail.com> wrote: > Watir::IE.each do |b| > puts b.title > end > > > > > > On Wed, May 19, 2010 at 19:45, George <george.sand...@gmail.com> wrote: > > I've been searching for an answer, but no luck. > > > When I click on a link, a new browser window is supposed to open. My > > job is to click the link again and make sure there that a duplicate > > window doesn't display. Using Watir::IE.process_count doesn't help due > > to the fact that IE8 displays more than one instance of iexplore.exe > > for one browser window. > > > Isn't there an easy way to iterate over all open browsers and get the > > title or URL? Something like: > > > browsers.each do |b| > > puts b.title > > end > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > You received this message because you are subscribed to > >http://groups.google.com/group/watir-general > > To post: watir-general@googlegroups.com > > To unsubscribe: > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@goog > > legroups.com> > > -- > Before posting, please readhttp://watir.com/support. In short: search before > you ask, be nice. > > You received this message because you are subscribed > tohttp://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: watir-general+unsubscr...@googlegroups.com
-- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com