Hi, 
try it with the Firefox buildpack: 

https://github.com/makifund/firefox-buildpack

and these config vars:

 <PATH>/usr/local/bin:/usr/bin:/bin:/app/vendor/firefox</PATH>
 
<LD_LIBRARY_PATH>/usr/local/lib:/usr/lib:/lib:/app/vendor/firefox</LD_LIBRARY_PATH>



Am Montag, 30. Mai 2016 17:11:13 UTC+2 schrieb etp:
>
> Hi,
> I wrote a java project with selenium to test a web application. 
> I use firefox web driver. When I launch my application in local everything 
> works fine. The program launchs a new window of firefox browser.
> But when I deploy my java app on heroku and see logs, the app crashed:
> nested exception is org.openqa.selenium.WebDriverException: Cannot find 
> firefox binary in PATH. Make sure firefox is installed. OS appears to be: 
> LINUX
> 2016-05-30T15:08:46.103844+00:00 app[web.1]: Build info: version: 
> 'unknown', revision: 'unknown', time: 'unknown'
> 2016-05-30T15:08:46.103845+00:00 app[web.1]: System info: host: 
> 'f9088c52-dbf1-4b44-b9d8-1ce23c4ec211', ip: '172.18.171.30', os.name: 
> 'Linux', os.arch: 'amd64', os.version: '3.13.0-85-generic', java.version: 
> '1.8.0_92-cedar14'
> 2016-05-30T15:08:46.103846+00:00 app[web.1]: Driver info: driver.version: 
> FirefoxDriver
>
> How can I make selenium works with Heroku?
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to