Sha256: 7410834fee8692edf9edd95ad0319929991e089fab71ece13bdaf87c867f17ce

Contents?: true

Size: 461 Bytes

Versions: 8

Compression:

Stored size: 461 Bytes

Contents

require 'culerity'

class Capybara::Driver::Culerity < Capybara::Driver::Celerity

  def self.server
    unless @_server
      @_server = ::Culerity::run_server
      at_exit do
        @_server.close
      end
    end
    @_server
  end

  def browser
    unless @_browser
      @_browser = ::Culerity::RemoteBrowserProxy.new self.class.server, options
      at_exit do
        @_browser.close
        @_browser.exit
      end
    end
    @_browser
  end

end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
capybara-0.4.1.2 lib/capybara/driver/culerity_driver.rb
capybara-rails-2-2-0.4.1.1 lib/capybara/driver/culerity_driver.rb
rcarvalho-capybara-0.4.1.2 lib/capybara/driver/culerity_driver.rb
rcarvalho-capybara-0.4.1.1 lib/capybara/driver/culerity_driver.rb
capybara-0.4.1.1 lib/capybara/driver/culerity_driver.rb
capybara-0.4.1.rc lib/capybara/driver/culerity_driver.rb
capybara-0.4.0 lib/capybara/driver/culerity_driver.rb
capybara-0.4.0.rc lib/capybara/driver/culerity_driver.rb