Minor fix to contrib/grab-headless_shell.sh

This commit is contained in:
Kenneth Shaw 2017-09-03 08:41:27 +07:00
parent 89b40f20af
commit 57d2ae2f9f

View File

@ -17,10 +17,12 @@ curl -s https://storage.googleapis.com/docker-chrome-headless/headless_shell-$VE
./headless_shell --remote-debugging-port=8222 & ./headless_shell --remote-debugging-port=8222 &
HEADLESS_PID=$!
sleep 1 sleep 1
curl -v -q http://localhost:8222/json/version curl -v -q http://localhost:8222/json/version
killall -9 headless_shell kill -9 $HEADLESS_PID
popd &> /dev/null popd &> /dev/null