Install Ubuntu install xvfb $sudo apt-get install xvfb install node module $npm install Run First run with xvfb $npm run start-headless Second run $npm run test-hightwatch-chromeless