Re: How to integrate selenium with heroku
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 heroku+unsubscr...@googlegroups.com 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 heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
webfonts 0 bytes after deployment
I have some webfonts bundled inside a gem (font-awesome, bundled inside of https://github.com/littlebtc/font-awesome-sass-rails) - the fonts work fine locally, but when I deploy them to heroku, they end up with a size of 0 and the fonts are not displayed. Looks like some issues with the asset-compilation, does anyone have an idea how to fix this?! -- You received this message because you are subscribed to the Google Groups Heroku group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/Ky2_9ETLz5UJ. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Find out the name of the app I'm running on?
This appears to be so simple that I feel a little dumb to ask it: Is there a way to find out the name of the app? I'm currently using an enviroment-variable that I set manually with heroku config:add APP_NAME=my_awesome_app - but I guess there should be a better way?! -- You received this message because you are subscribed to the Google Groups Heroku group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/CAhUXCZbAcQJ. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
ENV['APP_NAME'| not working on cedar?
I'm currently trying to get hirefire to run on cedar: hirefire is using ENV['APP_NAME'] to get the name of the app it is running on - this has been working on previous stacks, but is nil on cedar - I'm currently using ENV['NEW_RELIC_APP_NAME'] but is there a better way to get to the app-name?! -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: ENV['APP_NAME'| not working on cedar?
silly me: It is nil on cedar because I forgot to set it - that is at least what I did for an app on bamboo. Anyway, is there a way to find out the name of the running app without manually setting it?! On 13 Mrz., 07:27, vierundsech...@googlemail.com vierundsech...@googlemail.com wrote: I'm currently trying to get hirefire to run on cedar: hirefire is using ENV['APP_NAME'] to get the name of the app it is running on - this has been working on previous stacks, but is nil on cedar - I'm currently using ENV['NEW_RELIC_APP_NAME'] but is there a better way to get to the app-name?! -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.