by FxFiL


Heroku buildpack: Firefox with geckodriver

This is a Heroku buildpack for Firefox. Meant to be used in combination with something like xvfb, for headless operation.


Example usage:

$ heroku create --buildpack

# or if your app is already created:
$ heroku buildpacks:add

$ git push heroku master

Then, set Selenium configuration to below and launch.

  • geckodriver path to /app/vendor/geckodriver/geckodriver
  • firefox binary path to /app/vendor/firefox/firefox