Tag Info

New answers tagged


You can use the global hook at_exit: at_exit do your script goes here end For example, in features\support\env.rb I typically have: at_exit do browser.close end


I used osascript to open a new Terminal and run the script so it would not interfere with my cucumber test. osascript -e 'tell application "Terminal" to do script "sh path/to/activate_ui.sh"'

Top 50 recent answers are included