Created
February 16, 2016 12:58
-
-
Save dineshsprabu/d470df8485c1cfc8af05 to your computer and use it in GitHub Desktop.
[Phantom] Run PhantomJS WebDriver as Service in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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