So WATIR (in it's current state) is a combination of both watir-classic and
watir-webdriver.
watir-classic is a re-working of the old WATIR API to better conform to
watir-webdriver, so stuff like browser.text_field(:id, 'whatever').set
('xxx') wont work in the newer watir-classic api (the identifier is
now browser.text_field(:id => 'whatever').set ('xxx'), again to conform
with watir-webdriver api, allowing interchangeability between the two
without a lot of hassle).
screen_capture is not part of the screenshot class, which is basically
just browser.screenshot.save('/path/to/image.png'). The big change is that
it does all the hwnd stuff in the back end. Really cool stuff.
What I recommend is update your scripts to conform with
watir-classic/watir-webdriver. If you are using more than just IE, then
really look at watir-webdriver. If you are at a shot that's website is only
IE compatible then watir-classic is a dream.
I hope that helps.
On Wednesday, January 23, 2013 2:52:02 PM UTC-5, [email protected]
wrote:
>
> Just trying to get some general info. I'm starting from scratch and
> installed Watir Classic. I have a collegue who had scripts running using
> Watir 1.9.1. he installed Watir Classic and none of the scripts work.
> Things like require 'watir/screen_capture' and require 'watir/logger' were
> not liked. In general it looks like Watir and Watir Classic are not
> compatable? Is it recommended that only watir classic be used?
>
> Thanks,
> Richard
>
--
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]