To be more clear, the current version of Watir has integrated in the Firewatir driver.. so you get both Watir and Firewatir when you install it.
Most functions are pretty much equally supported on both browsers. and the way things work you now institute an instance of 'browser' which can be either IE or FF, and call most of your methods against that. (see http://wiki.openqa.org/display/WTR/Browser.new) The nice thing is that now I have scripts that do things like: browser.link(:text, "clickme").click and they can be developed against either IE or FireFox, and then quickly switched (via a few different methods depending on what works best for you) to run against the other browser. not all of the tutorial and sample code has caught up to the new paradigm, so you will see a lot of code there, and also posted here, where people will write 'ie.method..' and 'ff.method...' but now adays we'd typically say 'browser.method' (and some will shorten that to bro.method, or br, or just b (although there's a bit of a preference style wise among ruby programmers to only use single letter variables for iterators) ) Hopefully that eliminates a bit of the confusion instead of just causing more. On May 30, 10:55 pm, James <[email protected]> wrote: > ok completely new to the world of ruby as well as programming > The final goal is too scrape an ajax site... if I understand > currently I need both watir and firewatir? > I am trying to go through some online examples and am trying to > complete the google_search.rb example that seems to be floating > around. > > I don't think the program is running properly when I :::: > require "watir" > because I get the error :::: google_search.rb:14:in > `require': no such file to load -- watir (LoadError) > > any idea what this means? I am running windows xp > > thanks for the help in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
