rstudio / shinytest

Automated testing for shiny apps
https://rstudio.github.io/shinytest/
Other
225 stars 55 forks source link

Remove PhantomJS process after tests complete #364

Open tylerlittlefield opened 3 years ago

tylerlittlefield commented 3 years ago

I have noticed that I have multiple PhantomJS processes running in the background after running my tests, all of which end in app$stop(). I stumbled upon a SO question about this here: https://stackoverflow.com/questions/28465754

Is there another solution that doesn't require me to run ps -ef | grep phantomjs | awk '{print $2}' | xargs sudo kill -9?