Created
July 6, 2009 18:19
-
-
Save brianjlandau/141590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old_selenium_rc_server.rb 2009-07-06 14:11:57.000000000 -0400 | |
+++ selenium_rc_server.rb 2009-07-06 14:12:18.000000000 -0400 | |
@@ -30,7 +30,7 @@ | |
def remote_control | |
return @remote_control if @remote_control | |
- @remote_control = ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0", Webrat.configuration.selenium_server_port, 5) | |
+ @remote_control = ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0", Webrat.configuration.selenium_server_port, :timeout => 5) | |
@remote_control.jar_file = jar_path | |
return @remote_control | |
@@ -70,7 +70,7 @@ | |
def stop | |
silence_stream(STDOUT) do | |
- ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0", Webrat.configuration.selenium_server_port, 5).stop | |
+ ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0", Webrat.configuration.selenium_server_port, :timeout => 5).stop | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment