[wtr-general] How to get the original html source code via FireWatir

2010-07-19 Thread Will C
I have a question about getting the original html source code. The html method in firefox.rb, only return the innerHTML of the body. But I need to get the original source code. just like, when I input view-source: wiki.openqa.org, the firefox will show the html source code. Anyone knows how to

Re: [wtr-general] How to get the original html source code via FireWatir

2010-07-19 Thread Ethan
FireWatir has no outer_html method. I recommend Vapir-Firefox, a much-improved fork of FireWatir; it supports outer html. See the site at http://vapir.org/ and the wiki at http://wiki.github.com/vapir/vapir/ -Ethan On Mon, Jul 19, 2010 at 03:27, Will C changwei...@gmail.com wrote: I have a