0

I have developed my ROR App and I am using Watir Gem along with headless. It works fine on my localhost but when I deploy the code to heroku production it says Firefox not installed.

Can Anyone try to help?

  • This is the error shown Selenium::WebDriver::Error::WebDriverError (Could not find Firefox binary (os=linux). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path=):
  • Thanks

    1 Answers1

    0

    Heroku servers don't have Xvfb nor Firefox installed, you'd have to deploy somewhere else to use a headless browser.

    Leonid Shevtsov
    • 14,024
    • 9
    • 51
    • 82
    • Isn't there a way to install Xvfb or firefox on Heroku? – user3740641 Mar 14 '15 at 06:26
    • Selenium::WebDriver::Error::WebDriverError (Could not find Firefox binary (os=linux). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path=): – user3740641 Mar 14 '15 at 06:32