Created
January 8, 2014 03:42
-
-
Save DylanLacey/8311425 to your computer and use it in GitHub Desktop.
Debugging what's calling quit in Capybara
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
def quit | |
STDERR.puts "Capybara::Selenium::Driver.quit called by #{caller}" | |
@browser.quit if @browser | |
rescue Errno::ECONNREFUSED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment