Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Register :webkit_debug driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jul 22, 2011
1 parent e1e9944 commit a4538b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/capybara-webkit.rb
Expand Up @@ -5,3 +5,7 @@
Capybara::Driver::Webkit.new(app) Capybara::Driver::Webkit.new(app)
end end


Capybara.register_driver :webkit_debug do |app|
browser = Capybara::Driver::Webkit::Browser.new(:socket_class => Capybara::Driver::Webkit::SocketDebugger)
Capybara::Driver::Webkit.new(app, :browser => browser)
end

0 comments on commit a4538b6

Please sign in to comment.