はじめに
HerokuでSleniumを使おうとしたときに「ValueError: Could not get version for Chrome with this command: google-chrome --version || google-chrome-stable --version heroku」というエラーで苦しめられたので対処法をメモします。
対処法
以下の2つをBuildpacksに追加する。
・ https://github.com/heroku/heroku-buildpack-google-chrome.git
・ https://github.com/heroku/heroku-buildpack-chromedriver.git
おわりに
かなり悩みましたが無事に解決できてホッとしました。
参考URL

