Permalink
Browse files

Register :webkit_debug driver

  • Loading branch information...
1 parent e1e9944 commit a4538b620f3637b62182b0f52eff978238bdb784 @gabebw gabebw committed Jul 22, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/capybara-webkit.rb
@@ -5,3 +5,7 @@
Capybara::Driver::Webkit.new(app)
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.