geckodriver-buildpack

by buitron

GitHub Readme.md

Heroku buildpack: geckodriver

This buildpack installs geckodriver (the Selenium driver for Firefox) in a Heroku slug.

This buildpack only installs the geckodriver binary. To use Selenium with Firefox on Heroku, you'll also need Firefox. This is the suggested buildpack:

Usage

Example usage:

$ heroku create [appname] --buildpack http://github.com/buitron/geckodriver-buildpack

# or if your app is already created:
$ heroku buildpacks:add http://github.com/buitron/geckodriver-buildpack

$ git push heroku master

Configuring the downloaded version of geckodriver.

By default, this buildpack will download the latest release, which is provided by Mozilla.

You can control the specific version by setting the GECKODRIVER_VERSION variable to an explicit version e.g. 0.23.0.

Note

If you're using heroku-buildpack-multi to include other buildpacks, you should set environment variable by your own to include following paths.

PATH="/usr/local/bin:/usr/bin:/bin:/app/vendor/"
LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:/lib:/app/vendor"