Minor fix to contrib/grab-headless_shell.sh
This commit is contained in:
parent
89b40f20af
commit
57d2ae2f9f
|
@ -17,10 +17,12 @@ curl -s https://storage.googleapis.com/docker-chrome-headless/headless_shell-$VE
|
|||
|
||||
./headless_shell --remote-debugging-port=8222 &
|
||||
|
||||
HEADLESS_PID=$!
|
||||
|
||||
sleep 1
|
||||
|
||||
curl -v -q http://localhost:8222/json/version
|
||||
|
||||
killall -9 headless_shell
|
||||
kill -9 $HEADLESS_PID
|
||||
|
||||
popd &> /dev/null
|
||||
|
|
Loading…
Reference in New Issue
Block a user