Skip to content

Instantly share code, notes, and snippets.

@rupurt
Created October 25, 2013 18:19
Show Gist options
  • Save rupurt/7159363 to your computer and use it in GitHub Desktop.
Save rupurt/7159363 to your computer and use it in GitHub Desktop.
CapybaraWebkit and Selenium with :debug tag
Capybara.default_driver = :webkit
RSpec.configure do |config|
config.before(debug: true) do
Capybara.current_driver = :selenium
end
config.after(debug: true) do
Capybara.use_default_driver
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment