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 Nov 3, 2018
2 parents c53c07f + 1dd4a39 commit c3fb77b
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 c3fb77b

Please sign in to comment.