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 <[email protected]> wrote: > > > 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 get the original html source code with FireWatir? > > Thanks. > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
