Skip to content

Instantly share code, notes, and snippets.

@hugs
Created December 31, 2008 23:07
Show Gist options
  • Save hugs/42141 to your computer and use it in GitHub Desktop.
Save hugs/42141 to your computer and use it in GitHub Desktop.
Setup req'd for Selenium development on Ubuntu (8.04 Hardy)
# Install Java:
$ sudo apt-get install sun-java6-jdk
# Check installation:
$ java -version
# Install Maven:
$ sudo apt-get install maven2
# Check installation:
$ mvn --version
# Install Subversion
$ sudo apt-get install subversion
# Check installation:
$ svn --version --quiet
# Make sure Firefox is on the path
$ PATH=`find /usr/lib -type d -name "firefox-3*"`:$PATH
# Checkout Selenium Remote Control:
$ mkdir --parents ~/projects/selenium/selenium-rc
$ svn co https://svn.openqa.org/svn/selenium-rc/trunk/ ~/projects/selenium/selenium-rc
# Checkout Selenium Core
$ mkdir --parents ~/projects/selenium/selenium-core
$ svn co http://svn.openqa.org/svn/selenium-core/trunk/ ~/projects/selenium/selenium-core
# Build and Test Core
$ cd ~projects/selenium/selenium-core/
$ mvn install
# Build Core, but run integration tests (uses a real browser)
$ mvn install -Pintegration-test-firefox
# Build and Test RC
$ cd ~projects/selenium/selenium-rc/
$ mvn -Pcore install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment