If you are using IE as sole browser, you can do that follow.
require 'watir/ie' Or, use if statement or inside begin/rescue block. ----- Original Message ---- From: Brian Tomlin <[email protected]> To: Watir General <[email protected]> Sent: Thursday, February 5, 2009 8:32:17 AM Subject: [wtr-general] Re: Extending the IE class I took the "include Watir" out and that gave me a different error: ./portal.rb:20: uninitialized constant IE (NameError) from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `ge m_original_require' from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `re quire' from C:/eclipse/workspace/tests/watir/portal/ report_test_setup.rb:3 Scott, I found the post you were talking about. Can you please elaborate a little on the approach you ended up taking? Thanks everybody for the help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
