Skip to main content
Skip table of contents

Firefox in a headless environment

Feature

Set up Synthetic Monitoring with Firefox in a headless environment

Configure

Install Gecko driver

Get the latest version from here - https://github.com/mozilla/geckodriver/releases

BASH
wget https://github.com/mozilla/geckodriver/releases/download/v0.28.0/geckodriver-v0.28.0-linux64.tar.gz
tar -xf geckodriver-v0.28.0-linux64.tar.gz
sudo mv geckodriver /usr/bin/geckodriver
cd /usr/bin/
chmod +x geckodriver
geckodriver -v


Install Firefox

Get the latest stable version from here - https://ftp.mozilla.org/pub/firefox/releases/

Ubuntu

CODE
sudo apt update
sudo apt install firefox

CentOS/RHEL

CODE
su
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install firefox
firefox -v


Settings for Synthetic Web Component

When running Synthetic Web Component in Germain, ensure the following options are applied

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.