by evosystem-jp

GitHub Readme.md

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 https://github.com/evosystem-jp/heroku-buildpack-firefox

# or if your app is already created:
$ heroku buildpacks:add https://github.com/evosystem-jp/heroku-buildpack-firefox

$ 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