Method: Webrat::Selenium::SeleniumRCServer#remote_control

Defined in:
lib/webrat/selenium/selenium_rc_server.rb

#remote_controlObject



32
33
34
35
36
37
38
39
40
41
# File 'lib/webrat/selenium/selenium_rc_server.rb', line 32

def remote_control
  return @remote_control if @remote_control

  @remote_control = ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
                                                                 Webrat.configuration.selenium_server_port,
                                                                 :timeout => Webrat.configuration.selenium_browser_startup_timeout)
  @remote_control.jar_file = jar_path

  return @remote_control
end