how long is a long time ago? the rdoc for 2.0.4 has it listed (http:// rubydoc.info/gems/watir/2.0.4/Watir/ScreenCapture), and I did not notice anything in the release notes for 3.0 about it being removed or altered.
On Feb 23, 4:57 am, Jarmo Pertman <[email protected]> wrote: > 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 athttps://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]
