When running on linux, it is more safe to use the which command to locate the firefox executbale. Indeed, 'firefox' is not a valid file path and the call to 'fs.existsSync()' will always fail