diff --git a/script/selenium_test b/script/selenium_test index fcf3515a..1d583397 100755 --- a/script/selenium_test +++ b/script/selenium_test @@ -43,6 +43,7 @@ fi echo "starting BrowserStack local client..." ./$BSL_FILE --key $BROWSERSTACK_TOKEN & BSL_ID=$! +trap "kill $BSL_ID" SIGTERM SIGINT EXIT # run example selenium script that fetches the home page echo "running selenium tests"