Method: Culerity::RemoteBrowserProxy#initialize

Defined in:
lib/culerity/remote_browser_proxy.rb

#initialize(io, browser_options = {}) ⇒ RemoteBrowserProxy

Returns a new instance of RemoteBrowserProxy.



3
4
5
6
7
8
9
# File 'lib/culerity/remote_browser_proxy.rb', line 3

def initialize(io, browser_options = {})
  @io = io
  #sets the remote receiver to celerity for the new_browser message.
  @remote_object_id = "celerity".inspect 
  #celerity server will create a new browser which shall receive the remote calls from now on.
  @remote_object_id = new_browser(browser_options).inspect
end