Thanks for your help guys, I was just able to get that other code working (I
think) by modifying the code a little. (Apparently the "def timeout" wasn't
needed?...)
require 'watir'
ie = Watir::IE.new
#def timeout
begin
timeout(1.0) do |timeout_length|
ie.goto("www.google.com")
end
rescue Timeout::Error => e
puts "Error Message: " + e
ie.close
end
#end
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4767&messageID=13173#13173
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general