-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
Hi! I recently created a new app in Heroku, installed the buildpack, added the ENV variables and it is not working.
I tried different things commented on other issues (I'm using Ruby):
Selenium::WebDriver::Firefox::Binary.path = ENV['FIREFOX_BIN']
Selenium::WebDriver::Firefox.driver_path = ENV['GECKODRIVER_PATH']
options = Selenium::WebDriver::Firefox::Options.new(args: ['-headless', '--disable-gpu', '--no-sandbox', '--remote-debugging-port=9224'])
browser = Selenium::WebDriver.for(:firefox, options: options)
But I'm getting
Selenium::WebDriver::Error::SessionNotCreatedError (Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line)
My env variables are:
FIREFOX_BIN=/app/vendor/firefox/firefox
GECKODRIVER_PATH=/app/vendor/geckodriver/geckodriver
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib:/app/vendor
PATH=/usr/local/bin:/usr/bin:/bin:/app/vendor/
I also tried removing the buildpack from the heroku webapp, installing it from the command line and restarting the dynos (as commented #3 (comment) but it didn't work)
Thanks!
Reactions are currently unavailable