lib/culerity/remote_browser_proxy.rb in culerity-0.2.7 vs lib/culerity/remote_browser_proxy.rb in culerity-0.2.8

- old
+ new

@@ -1,10 +1,11 @@ module Culerity - class RemoteBrowserProxy < RemoteObjectProxy def initialize(io, browser_options = {}) @io = io - @remote_object_id = "celerity".inspect + #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 # # Calls the block until it returns true or +time_to_wait+ is reached.