It's supposed to stop after a certain amount of time. Otherwise you'll 
end up with a program which waits indefinitely.

If you want to extend the amount of time before a failure:

driver.manage.timeouts.page_load = 300 # 5 minutes

-- 
Posted via http://www.ruby-forum.com/.