Yes, since that method is deleted a long time ago already. Use
Win32::Screenshot instead.
First, install Win32::Screenshot
gem install win32screenshot
Then, take the screenshot by providing browser.rautomation as a
parameter:
Win32::Screenshot::Take.of(:rautomation,
browser.rautomation).write("screenshot.png")
More examples at https://github.com/jarmo/win32screenshot
Jarmo Pertman
-----
IT does really matter - http://itreallymatters.net
On Feb 23, 2:30 am, hillary <[email protected]> wrote:
> for the pre-release version of watir (3.0.rc2) I get a no method error
>
> my code:
> browser.screen_capture($file_path,true,false)
--
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]