Skip to content

Instantly share code, notes, and snippets.

@wakumaku
Last active October 31, 2015 13:57
Show Gist options
  • Save wakumaku/7a64d4bd63528b67fc15 to your computer and use it in GitHub Desktop.
Save wakumaku/7a64d4bd63528b67fc15 to your computer and use it in GitHub Desktop.
Use firefox in headless mode to run with selenium into a server
sudo apt-get install firefox
sudo apt-get install xvfb
nohup Xvfb :99 -ac &
export DISPLAY=:99
nohup java -jar selenium-server-standalone-2.44.0.jar &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment