Sha256: 55e328bd477628ad2dd9b30462203996bddae6882d2a435ebadb7122472b9127

Contents?: true

Size: 513 Bytes

Versions: 5

Compression:

Stored size: 513 Bytes

Contents

require "capybara"

module Capybara
  module Webkit
    def self.configure(&block)
      Capybara::Webkit::Configuration.modify(&block)
    end
  end
end

require "capybara/webkit/driver"
require "capybara/webkit/configuration"

Capybara.register_driver :webkit do |app|
  Capybara::Webkit::Driver.new(app, Capybara::Webkit::Configuration.to_hash)
end

Capybara.register_driver :webkit_debug do |app|
  Capybara::Webkit::Driver.new(
    app,
    Capybara::Webkit::Configuration.to_hash.merge(debug: true)
  )
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
capybara-webkit-1.9.0 lib/capybara/webkit.rb
capybara-webkit-1.8.0 lib/capybara/webkit.rb
capybara-webkit-1.7.1 lib/capybara/webkit.rb
capybara-webkit-1.7.0 lib/capybara/webkit.rb
capybara-webkit-1.6.0 lib/capybara/webkit.rb