Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heroku/heroku-buildpack-chromedriver

[DEPRECATED] Use https://github.com/heroku/heroku-buildpack-chrome-for-testing instead.
https://github.com/heroku/heroku-buildpack-chromedriver

Last synced: 4 days ago
JSON representation

[DEPRECATED] Use https://github.com/heroku/heroku-buildpack-chrome-for-testing instead.

Awesome Lists containing this project

README

        

# heroku-buildpack-chromedriver

> [!CAUTION]
> This buildpack should no longer be used. The Chromedriver version falls out of sync with Chrome (installed by a different buildpack) causing build failures.
>
> **Instead, please use [Chrome for Testing buildpack](https://github.com/heroku/heroku-buildpack-chrome-for-testing)**, which installs [matching Chrome + Chromedriver versions](https://googlechromelabs.github.io/chrome-for-testing/).

-----

# Original README

This buildpack installs
[`chromedriver`](https://chromedriver.chromium.org/)
(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](https://github.com/heroku/heroku-buildpack-google-chrome)
to run Chrome with the `--headless` flag
- [heroku-buildpack-xvfb-google-chrome](https://github.com/heroku/heroku-buildpack-xvfb-google-chrome)
to run Chrome against a virtual window server

## Configuring the downloaded version of chromedriver.

By default, this buildpack will download the latest release, which is provided
by [Google](https://chromedriver.storage.googleapis.com/LATEST_RELEASE).

You can control the specific version by setting the `CHROMEDRIVER_VERSION`
variable to an explicit version e.g. `2.39`.

## Releasing a new version

Make sure you publish this buildpack in the buildpack registry

`heroku buildpacks:publish heroku/chromedriver master`