I am trying to scrap data in Heroku with the gem Watir but I have the following problem :
Selenium::WebDriver::Error::UnknownError (unknown error: cannot find Chrome binary
2018-06-12T17:29:54.221948+00:00 app[web.1]: (Driver info: chromedriver=2.40.565383
I am using those 2 buildpackers :
- https://github.com/heroku/heroku-buildpack-google-chrome
- https://github.com/heroku/heroku-buildpack-chromedriver
I don't understand how to fix the path in my rails project. As following this doc : https://github.com/heroku/heroku-buildpack-google-chrome#selenium
It's seems that I have to add this path
/app/.apt/usr/bin/google-chrome
But I don't understand at all where I have to add this.
If someone have the solution :) Thank you !