FireFox WebDriver Installation

Install Firefox 26

Repository: https://ftp.mozilla.org/pub/firefox/releases/26.0/

wget

wget -qO- https://ftp.mozilla.org/pub/firefox/releases/26.0/linux-x86_64/en-US/firefox-26.0.tar.bz2 | tar -C /opt -xvj

Install Xvfb (X Virtual Framebuffer)

Xvfb on Ubuntu or Debian

sudo apt-get update
sudo apt-get install xvfb

Xvfb on RHEL, Fedora, CentOS

sudo yum install xorg-x11-Xvfb

Run Xvfb

Xvfb :99

Setup Collector Script

Before starting Collector with the Firefox webdriver, modify the startup script (uncomment and set path to firefox bin file):

#COLLECTOR_JAVA_OPTS="$COLLECTOR_JAVA_OPTS -Dwebdriver.firefox.bin="
#export DISPLAY=:99

For example:

COLLECTOR_JAVA_OPTS="$COLLECTOR_JAVA_OPTS -Dwebdriver.firefox.bin=/opt/firefox/firefox"
export DISPLAY=:99