For the record, that was replied on IRC:

[09:25am] p0deje: lonny_: you can use data URI
[09:26am] p0deje: browser.goto "data:text/html,#{html}"
[09:27am] lonny_: Thanks. I'll give that a try.
[09:29am] lonny_: Yes! That worked. Thank you very much.


On Thursday, May 16, 2013 9:03:22 AM UTC+7, Lonny Eachus wrote:
>
>
> This is a rather urgent issue. 
>
> I have some whole-page HTML in a database. I would like to get this HTML 
> into Watir for parsing. 
>
> How can I tell Watir to load this HTML into the DOM? 
>
> I know I could write the data to a .html file and read it that way, but 
> that would seem to be a rather roundabout way to do it. 
>
> How does one load HTML from text into Watir? 
>
>
> Lonny Eachus 
> =========== 
>
>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to