Sha256: 52900c9b3c537e5f329ad5119b0d89294cc77960c7335b89227f9ec139c7aeab

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

class Capybara::Driver::Webkit
  class RemoteBrowser < Capybara::Driver::Webkit::Browser
    attr :remote_host, :remote_port
    def initialize(hostname, port, options = { })
      @remote_host = hostname
      @remote_port = port
      super(options)
    end
    
    def start_server ; end
    
    def attempt_connect
      @socket = @socket_class.open(remote_host, remote_port)
      rescue Errno::ECONNREFUSED
    end
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-webkit-remote-0.0.1 lib/capybara/driver/webkit/remote_browser.rb