On Jan 31, 3:19 pm, Darin Duphorn <dduph... / redbrickhealth.com> wrote:
> I'm new to Ruby, but I cannot find a way to get the browser title.
>
> any help would be great.
>
> Thanks
> --
> Posted viahttp://www.ruby-forum.com/.

This depends on the relationship between your Ruby code and the
browser.

One case is that your Ruby program is running along side the browser
on the same computer.  This is the case with the watir gem, for
example.  In this case, you can interact with Internet Explorer using
Ruby's Win32OLE library.

In the case of Ruby on Rails, your Ruby program is communicating with
a client browser via HTTP.  In this case, you can have some client-
side JavaScript get the browser title and send the information as an
HTTP parameter to your Ruby on Rails program.