HI All, I am trying to write one script that will work on both IE and FF. As per the link: http://wiki.openqa.org/display/WTR/Browser.new
I am trying to use the "set watir_browser=ie" command and Watir::Browser.new The code is : -------------- require 'rubygems' require 'watir' set watir_browser=ie browser = Watir::Browser.new browser.goto("http://www.hotmail.com") ---------- But keep getting the following error: --------- undefined method `set' for main:Object (NoMethodError) ----------------- What am I doing wrong? Should I require any other library? Thank you. Margam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---