Skip to content

Commit

Permalink
Merge pull request RefugeRestrooms#432 from stardust66/debug-tests
Browse files Browse the repository at this point in the history
Make poltergeist able to show debug web inspector
  • Loading branch information
mi-wood authored and DeeDeeG committed Oct 15, 2018
2 parents 8723aa2 + 95ccc05 commit b35a2db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion features/support/poltergeist.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist

Capybara.register_driver :poltergeist_debug do |app|
Capybara::Poltergeist::Driver.new(app, :inspector => true)
end

Capybara.javascript_driver = :poltergeist_debug

0 comments on commit b35a2db

Please sign in to comment.