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 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: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to