On Fri, Apr 26, 2013 at 5:20 AM, Christian <[email protected]>wrote:

> I want to save a picture of an element like a button


If you are using watir-classic:

browser.image.save("c:/foo/bar.jpg")

More information:
http://rdoc.info/gems/watir-classic/Watir/Image#save-instance_method

If you are using watir-webdriver, it is not implemented yet:

http://rdoc.info/gems/watir-webdriver/Watir/Image#save-instance_method

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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