Well...I don't know if no one does it..there is a buildpack. Looks like it uses chrome rather than firefox:
https://github.com/tstachl/heroku-buildpack-selenium On Tuesday, May 31, 2016 at 5:59:01 AM UTC-7, Jason FB wrote: > > > You will want to remove the selenium gem from the 'production' group. > Generally you only keep the test-related gems in a 'test' group. > > No one runs selenium on Heroku, this can't be done and does not make sense > > > > On May 31, 2016, at 6:52 AM, '[email protected] <javascript:>' > via Heroku Community <[email protected] <javascript:>> wrote: > > Not sure what you are trying to accomplish here: Do you want to use Heroku > to drive Selenium-Tests? Not sure, why one would want to that. > > The error basically says that there isn't a firefox installed: Selenium is > basically piggy-backing on a firefox to simulate user-interaction with your > webapp. But heroku also does not have a windowing-system, it's server only, > so even if you could get firefox installed you will not be able to run it. > > If what you want to is test that the webapp you deployed on heroku is > doing what you want it to do, you should be able to run selenium-tests from > your local machine and point it to the deployed webapp. Or is it something > entirely different you are trying to do?! > > > 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] <javascript:> > 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] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > ---- > > Jason Fleetwood-Boldt > [email protected] <javascript:> > http://www.jasonfleetwoodboldt.com/writing > > If you'd like to reply by encrypted email you can find my public key on > jasonfleetwoodboldt.com (more about setting GPG: https://gpgtools.org) > > -- -- 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.
