Posts tagged ubuntu server
Ubuntu Server 10.10/11.04 – Selenium Server (headless) & PHPUnit
313 years ago
by Pieter Vogelaar
in Ubuntu
This tutorial explains how to run Selenium test cases with Selenium Server and PHPUnit on a Linux server that has no GUI (headless).
Make sure you have pear installed. Then upgrade to at least version 1.9.2
pear upgrade pear
Install firefox
apt-get install firefox
In order to run firefox on a headless server (means without a GUI), Xvfb (X virtual frame buffer) must be used. To install it:
apt-get install xvfb
Install Java:
apt-get install openjdk-6-jre-headless
Download Selenium Server and put it on your server, for example: /opt/selenium-server.jar. http://seleniumhq.org/download/ or direct link More >