Open fregante opened 4 years ago
closing chrome is notoriously hard, i've had issue elsewhere and others too with similar problems (just search on github for chrome not closing or kill chrome, or anywhere)
this might or might not be helpful https://unix.stackexchange.com/questions/139830/kill-stop-all-google-chrome-processes
I ended up running it with a timeout:
Via cli this is possible as:
timeout 5m npm run tests
Or on macOS: https://stackoverflow.com/questions/3504945/timeout-command-on-mac-os-x
I noticed when using
tape-run
that Firefox closed but Chrome stayed open (even though the tests completed anyway)However this doesn't close the tab and window either:
...nor any other browser I tested: chrome and safari.
The interesting part is that this closed the tab once, but on a second call the tab and window stayed open:
I'm on macOS 10.15.2, Node v12.14.1