In the manual the steps required to install headless Firefox on CentOS 6 are described. Headless Firefox may be needed to perform GUI automated testing.
All steps of this manual have been validated on CentOS 6.8. It should not be a problem to adapt the solution to other distros.