Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.39 KB

File metadata and controls

37 lines (24 loc) · 1.39 KB

heroku-integrated-firefox-geckodriver

Build Status Requirements Status License: MIT

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

Usage:

Example usage:

$ heroku create --buildpack https://github.com/ronnielivingsince1994/heroku-integrated-firefox-geckodriver

# or if your app is already created:
$ heroku buildpacks:add https://github.com/ronnielivingsince1994/heroku-integrated-firefox-geckodriver

$ git push heroku master

Configurations:

Updating config vars on Heroku CLI:

FIREFOX_BIN:      /app/vendor/firefox/firefox

GECKODRIVER_PATH: /app/vendor/geckodriver/geckodriver

LD_LIBRARY_PATH:  /usr/local/lib:/usr/lib:/lib:/app/vendor

PATH:             /usr/local/bin:/usr/bin:/bin:/app/vendor/

Go ahead and scrape the universe. Drop a star if you like this small project!