user3740641
user3740641

Reputation: 11

Watir Gem with Headless on Heroku Ruby On Rails App

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

    Upvotes: 0

    Views: 531

    Answers (1)

    Leonid Shevtsov
    Leonid Shevtsov

    Reputation: 14189

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

    Upvotes: 0

    Related Questions