On 2/15/06, Chris Schmechel <[EMAIL PROTECTED]> wrote:
Ok, but I don't really want to navigate to the page using both IE and Net:HTTP classes.
I've already navigated to the main page via ie.goto() and I'm using ie.button().click to navigate
to the resulting page.

Is there an equivalent method in Watir or something I can query in the DOM
to return the HTTP status after the ie.button().click method finishes?  It would
be nice to have something similar to $mech->status in Perl.  I'm only aware of
the ie.contains_text() method which isn't quite right.

Unlike $mech, which is a browser simulator, Watir is a browser automator. The headers are not in the DOM -- they are directly handled by the browser, which in this case is IE. Some one needs to figure out how to get IE to reveal this information.

Here's a tool that makes them visible, thus proving that it is programatically available. But the tool is closed source.

     http://www.blunck.info/iehttpheaders.html

If any one knows more about how we could get this information into Watir, please speak up.

Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to