Skip to content

Instantly share code, notes, and snippets.

@dineshsprabu
Created February 16, 2016 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dineshsprabu/d470df8485c1cfc8af05 to your computer and use it in GitHub Desktop.
Save dineshsprabu/d470df8485c1cfc8af05 to your computer and use it in GitHub Desktop.
[Phantom] Run PhantomJS WebDriver as Service in Ubuntu
/*
Make sure you have scree on your server using screen --version
if not, install using 'sudo apt-get install screen'.
Make sure you have phantomjs installed and accessible on the path
'/usr/bin/phantomjs'.
*/
screen -dmS test bash -c '/usr/bin/phantomjs -w ; exec bash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment