From b5392f1ed99e2ebca114a7ac4efda8360bfd6bcc Mon Sep 17 00:00:00 2001 From: Florent Beaurain Date: Mon, 25 Mar 2019 17:35:40 +0100 Subject: [PATCH] add support for heroku/heroku-buildpack-google-chrome --- lib/webdrivers/chromedriver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webdrivers/chromedriver.rb b/lib/webdrivers/chromedriver.rb index 044843c5..c8b11992 100644 --- a/lib/webdrivers/chromedriver.rb +++ b/lib/webdrivers/chromedriver.rb @@ -79,7 +79,7 @@ def chrome_on_windows end def chrome_on_linux - `google-chrome --version` + `#{ENV['GOOGLE_CHROME_BIN'] || 'google-chrome'} --version` end def chrome_on_mac