Skip to content
This repository
Browse code

Register :webkit_debug driver

  • Loading branch information...
commit a4538b620f3637b62182b0f52eff978238bdb784 1 parent e1e9944
Gabe Berke-Williams authored July 22, 2011

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  lib/capybara-webkit.rb
4  lib/capybara-webkit.rb
@@ -5,3 +5,7 @@
5 5
   Capybara::Driver::Webkit.new(app)
6 6
 end
7 7
 
  8
+Capybara.register_driver :webkit_debug do |app|
  9
+  browser = Capybara::Driver::Webkit::Browser.new(:socket_class => Capybara::Driver::Webkit::SocketDebugger)
  10
+  Capybara::Driver::Webkit.new(app, :browser => browser)
  11
+end

0 notes on commit a4538b6

Please sign in to comment.
Something went wrong with that request. Please try again.