You can clone with
Hello! I have no answer on stackoverflow, so asking the question here.
I'm using Mac OS X and capybara+selenium+guard+spork. First time the browser starts to make integration test with :js=>true in capybara and it's not closing. When specs run next time they hang and I need to close the browser manually and restart all the specs. That happens only when I use spork. Without spork - browser is closed correctly. Specifying path gives no results.
Could you help me with this problem?
I've made some kind of dirty workaround:
1) [optional] to close only my processes
cp /Applications/Firefox.app/Contents/MacOS/firefox-bin /Applications/Firefox.app/Contents/MacOS/firefox-bin-selenium
Selenium::WebDriver::Firefox.path = "/Applications/Firefox.app/Contents/MacOS/firefox-bin-selenium"
Even if I get all the code from prefork to each_run it doesn't work.
I don't have enough skills to find more smart solution. And it seems, that at_exit has a bug in the ruby 1.9 itself.