I have this configuration for selenium testing in phpuni-environment.conf file
[program:selenium]
command=xvfb-run java -Dwebdriver.firefox.bin=/usr/bin/firefox -jar /usr/share/selenium/selenium-server-standalone.jar
autostart=false ; selenium
[program:python-webserver]
command=python -m SimpleHTTPServer 8080
directory=. ; python-webserver
autostart=false ; python-webserver
[program:php-webserver]
command=php -S localhost:8080
directory=. ; php-webserver
autostart=false ; php-webserver
I do the testing via vagrant. Whenever I run any kind of test, I always get this error
xvfb-run: error: Xvfb failed to start
I found several solutions for this error and I tried this
command=xvfb-run --auto-servernum --server-num=1 java -Dwebdriver.firefox.bin=/usr/bin/firefox -jar /usr/share/selenium/selenium-server-standalone.jar
but still I get the same error. What am I missing here?