Src Reference: http://bernaerts.dyndns.org/download/ubuntu/install-mozilla-addon Article: http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline
sudo apt-get install xvfb
sudo Xvfb :99.0 -ac
export DISPLAY=:99.0
sudo wget -O /usr/local/sbin/install-mozilla-addon http://bernaerts.dyndns.org/download/ubuntu/install-mozilla-addon
sudo chmod +x /usr/local/sbin/install-mozilla-addon
sudo install-mozilla-addon https://addons.mozilla.org/firefox/downloads/latest/5369/addon-5369-latest.xpi
sudo install-mozilla-addon https://addons.mozilla.org/firefox/downloads/latest/1843/addon-1843-latest.xpi
wget http://selenium-release.storage.googleapis.com/2.45/selenium-server-standalone-2.45.0.jar
java -jar selenium-server-standalone-2.45.0.jar
extensions:
Behat\MinkExtension\Extension:
selenium2:
browser: firefox
wd_host: 'app url'
capabilities: { 'firefox': {'profile':'path/to/your/zip file'} }
References:
Nice, thanks. Maybe add
set -e
? Had a docker build succeed even thoughunzip(1)
wasn't installed.