Skip to content

Commit

Permalink
Merge pull request #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 Jan 30, 2018
2 parents 6f72841 + 042e8f2 commit c614fc9
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 c614fc9

Please sign in to comment.