I'm not exactly sure why someone would do 'ie.close if ie'. Below is my best guess at it.
------- require 'watir' include Watir ie = nil if ie puts 'ie object created' else puts 'no ie object' endie ie = IE.new() if ie puts 'ie object created' else puts 'no ie object' end --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6562&messageID=18721#18721 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general