This buildpack installs
chromedriver
(the Selenium driver for Chrome) in a Heroku slug.
This buildpack only installs the chromedriver
binary. To use Selenium with Chrome
on Heroku, you'll also need Chrome. We suggest one of these buildpacks:
- heroku-buildpack-google-chrome
to run Chrome with the
--headless
flag - heroku-buildpack-xvfb-google-chrome to run Chrome against a virtual window server
By default, this buildpack will download the latest release, which is provided by Google.
You can control the specific version by setting the CHROMEDRIVER_VERSION
variable to an explicit version e.g. 2.39
.
Make sure you publish this buildpack in the buildpack registry
heroku buildpacks:publish heroku/chromedriver master