trap and kill BrowserStackLocal process in selenium_test script
This commit is contained in:
parent
4e653a52cf
commit
8a14560a9b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user