-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headless Chrome hangs up forever #70
Comments
@neosepulveda There have been a bunch of problems related to - i think - a change in how Google publishes version numbers. Try setting your chrome driver version explicitly. Per https://github.com/heroku/heroku-buildpack-chromedriver, that would involve setting CHROMEDRIVER_VERSION explicitly to the latest stable version. As of this writing, that's "74.0.3729.6" Possibly related: titusfortner/webdrivers#72 |
@rubendinho Thanks for the quick reply. I tried using the stable release in the path or specifying the version as mentioned in the issue your referenced but no luck... As a reference for other people who stumble into this, this is what I tried and did not work: Selenium::WebDriver::Chrome.path = '/app/.apt/usr/bin/google-chrome-stable' Webdrivers::Chromedriver.version = '2.46' @rubendinho How do you exactly specify what |
You’re using the chromedriver buildpack so I would set that as an environment variable per their instructions.
The Webdrivers config is not likely to work unless you’re using that gem.
Try setting a config variable in your app.json or the Heroku CI GUI to the version I referenced which is the current stable release.
… On May 1, 2019, at 7:40 PM, Neo Sepulveda ***@***.***> wrote:
@rubendinho Thanks for the quick reply. I tried using the stable release in the path or specifying the version as mentioned in the issue your referenced but no luck...
As a reference for other people who stumble into this, this is what I tried and did not work:
Selenium::WebDriver::Chrome.path = '/app/.apt/usr/bin/google-chrome-stable'
Webdrivers::Chromedriver.version = '2.46'
@rubendinho How do you exactly specify what CHROMEDRIVER_VERSION to use? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
HI @rubendinho, I tried your suggestion and still not working unfortunately. Here is the log log
FYI, I am using |
The |
Closing this issue as it has been solved in titusfortner/webdrivers#72 |
Hi Heroku!
I just created a new Rails app and I added one system test using headless Chrome. The test suite run perfectly well on localhost but in Heroku CI hangs up forever. I followed a few setups and configurations that I've seen around, however, I always end up in the same point.
It hangs up indefinitely after displaying
DevTools listening on ws://127.0.0.1:9222/devtools/browser/21f03248-bfc5-4fbc-8b07-542888f4ac9e
. It never times out or displays an error.This is Capybara-Chrome driver configuration
This is my
app.json
heroku Ci fileAny ideas of what is causing this problem?
Thank you very much in advance ❤️
The text was updated successfully, but these errors were encountered: