Im sure I came across something for this recently, but I cant remeber ( or 
find what) now.

The best I came up with is to use the navigator object like this

irb(main):015:0> 
ie.document.parentWindow.navigator.invoke('browserLanguage')
=> "en-us"

you can see what properties/methods are available here
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.asp?frame=true

Paul


----- Original Message ----- 
From: "Bach Le" <[EMAIL PROTECTED]>
To: <wtr-general@rubyforge.org>
Sent: Wednesday, March 14, 2007 2:15 PM
Subject: Re: [Wtr-general] http_error_checker on IE7


> Paul,
> do you know if it's possible to read the response headers from the server 
> for a given page with IE? I've been looking around and I can't find any 
> information on it. I'd be happy to write the code if someone can point me 
> in the right direction.
>
> -Bach
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=6349&messageID=19897#19897
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to