Created
March 5, 2018 12:59
-
-
Save Lackoftactics/05286ca988ddb7b77fe9704aa52a63fd to your computer and use it in GitHub Desktop.
Capybara easier debugging, look on browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capybara.server_port = 9887 | |
Capybara.app_host = "http://#{ENV['APP_HOST']}:#{Capybara.server_port}" | |
Capybara.always_include_port = true | |
Capybara.register_driver :chrome do |app| | |
Capybara::Selenium::Driver.new(app, browser: :chrome) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment