Thanks for the reply.
I'll open a new ticket. In the mean time, is there a way to get the
image's binary data?

On Dec 21, 4:54 am, Angrez Singh <ang...@gmail.com> wrote:
> As of now FireWatir doesn't support saving a image. You can open a JIRA
> ticket for the same.
>
> - Angrez
>
> On Sat, Dec 19, 2009 at 2:42 AM, hliauw <hli...@gmail.com> wrote:
> > Hi all,
>
> > Does firewatir support image(...).save like in ie? I have been testing
> > on ie for a while, and have a need to test using firefox. some scripts
> > I had uses image.save and it has been failing on firefox.
>
> > Here are some snippets:
> > browser = Watir::Browser.new()
> > browser.goto(url)
> > browser.image(:index, 1).save("c:\\tempfile.gif")
>
> > When I run the script, it doesn't throw any error, but the file is
> > never created.
> > When I use irb, it gives me the following error on save:
> > => "TypeError: elements_IMG[0].save is not a function"
>
> > Google and Watir search doesn't help me much. Anybody have a clue?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Watir General" group.
> > To post to this group, send email to watir-general@googlegroups.com
> > Before posting, please read the following guidelines:
> >http://wiki.openqa.org/display/WTR/Support
> > To unsubscribe from this group, send email to
> > watir-general-unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/watir-general

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to