Method: Selenium::RemoteControl::RemoteControl#initialize

Defined in:
lib/selenium/remote_control/remote_control.rb

#initialize(host, port, timeout_in_seconds = 2 * 60) ⇒ RemoteControl

Returns a new instance of RemoteControl.



8
9
10
11
12
# File 'lib/selenium/remote_control/remote_control.rb', line 8

def initialize(host, port, timeout_in_seconds = 2 * 60)
  @host, @port, @timeout_in_seconds = host, port, timeout_in_seconds
  @additional_args = []
  @shell = Nautilus::Shell.new
end