Did you try using the watir browser.goto( theURL) with the file attribute
instead of http
When I manually open a text file with the chrome browser the url shows
something like
file:///C:/ABC.txt
therefore something like
browser.goto('file:///C:/ABC.txt')
Reference:
http://stackoverflow.com/questions/2346515/how-to-force-a-txt-file-to-be-read-as-an-html-document-by-browsers
On Tuesday, February 10, 2015 at 7:29:18 PM UTC-6, Ping-0t wrote:
>
> Dear All,
>
> I am trying to save the results of my test in the log_file.txt and I want
> it to display in the browser. Is it possible?
>
> Thanks in advance,
>
> Helfe
>
--
--
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/d/optout.