答案 0 :(得分:0)
https://github.com/timcharper/spork/issues/144
1)[可选]仅关闭我的流程
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"
2)
Spork.each_run do
\`killall firefox-bin-selenium\`
end