Visually comparing these files, I found that when you use View > Page Source from the browser, you get the whole Page HTML, but when you use the Watir " ie.html" method, you get a stripped down version of the page html.  For example, the Header info is absent as well as any pretty indenting.

The fact that the header info is absent is a bug in 1.4.1 . It is fixed in HEAD.

But the html you see in Watir has been parsed and then reconstituted, so it won't be exactly what you started with. You will, for example, lose your indenting.

Incidentally, someone once mentioned to me that there is a down_load_time attribute, but I can't find any info on it anywhere.  Is there a reference in the Watir API or elsewhere that can tell me what methods and attributes are available for working with the HTML pages?

Look under the "attributes" section of the doc for the Watir::IE class in the API documentation. http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html

Don't worry about missing this. Marick wrote a blog post describing how to add this functionality to Watir without realizing that it was already there.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to