Use a specific version of Firefox browser in DEV@Cloud

Issue

  • Firefox version installed on the slaves is firefox-22.0-1.fc17.x86_64 in DEV@cloud and I would like to use a different version

Environment

Resolution

 

#!/bin/sh
set -e

FIREFOX_VERSION=35.0
FIREFOX_DIR=${HOME}/tools/firefox-${FIREFOX_VERSION}

if test ! -x "${FIREFOX_DIR}"/firefox ; then
    wget http://download-origin.cdn.mozilla.net/pub/mozilla.org/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-17.0.tar.bz2
    mkdir -p "${FIREFOX_DIR}"
    bzcat firefox-${FIREFOX_VERSION}.tar.bz2 | tar -x -C ${FIREFOX_DIR} --strip-components=1 -f -
fi


Don't forget to add /${HOME}/tools/firefox-17.0 as the "Tool Home"
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.