lib/selenium_rc/server.rb in selenium-rc-2.3.0 vs lib/selenium_rc/server.rb in selenium-rc-2.3.1
- old
+ new
@@ -80,9 +80,10 @@
end
def wait_for_service_with_timeout
start_time = Time.now
until ready?
+ sleep 0.1
if @timeout && (Time.now > (start_time + @timeout))
raise ServerNotStarted.new("Selenium Server was not ready for connections after #{@timeout} seconds")
end
end
end