Barış Yeşilçiçek
Barış Yeşilçiçek
What is the `executable_path` you're giving to Selenium driver? You should use the environment variables exported by the buildpack: https://github.com/heroku/heroku-buildpack-google-chrome#selenium
`$GOOGLE_CHROME_BIN` and `$GOOGLE_CHROME_SHIM` are exported at the end of the buildpack's code. https://github.com/heroku/heroku-buildpack-google-chrome/blob/d93581e904e63fe232d8fd997bdfbe6b39fd5a39/bin/compile#L139-L150 I don't know what it'd look like in Ruby but in Python I have the following: ```...
That's weird, I don't know what the reason would be. However, this is what I get from the shim env. variable currently: `/app/.apt/usr/bin/google-chrome-stable`. You can try hardcoding this but obviously...
@jamintz I finally managed to fix it! You need to give WebDriver the path for the chromedriver which is installed by the chromedriver buildpack. And you need to pass the...
@ronen651 I have it in my `TestCase`'s `setUp()` so selenium is initialized properly before my test cases are run.
The code above needs to run before you can use selenium to do anything. So you can put it right before your snapshot routine.
This is what you do as of March 2019: For the `Heroku cedar-14` stack; make sure you have https://github.com/heroku/heroku-buildpack-xvfb-google-chrome buildpack added to your app. If you are using Heroku Pipelines,...