-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Chromedriver issue on Heroku CI #473
Comments
Hi @hfjallemark. 👋 This is a tough issue because Chrome isn't sending back enough information in its error log message to be useful. It sounds like Chrome is running into a javascript error in CI, but we may need to do more investigation to see if Wallaby can raise a more complete error message. In the meantime, you could temporarily update your config to config :wallaby,
driver: Wallaby.Experimental.Chrome,
js_errors: false to get CI to pass until you figure out what JS error might be occurring. I know this is less than ideal, but hopefully it will get you unstuck. |
Yep that’s what I did and then it worked. It’s weird that I only get this error in Heroku CI — is there any way to debug further what the issue may be? |
@aaronrenner any idea how to dig deeper into this? It's strange because it works perfectly fine locally. |
@hfjallemark I'll do a bit of research to see we can expose more lines of that log message. |
Hey @aaronrenner, were you able to expose some more log messages? |
@hfjallemark, I put some %{
"level" => "SEVERE",
"message" => "http://localhost:38277/errors.html 15:8 Uncaught",
"source" => "javascript",
"timestamp" => 1580875317342
} Unfortunately, the WebDriver logging endpoint is not even part of the newer W3C webdriver spec, and fails when chromedriver is running in W3C mode. I wish I had better news here... Would it be possible to switch back to phantomjs temporarily to see if it would give you more info on the error? |
I’ll give that a try and see. Weird thing is that the same code works locally (macOS) with Chromedriver but not on Heroku (Ubuntu I believe). |
Issue
I am getting a weird error when running Wallaby with ChromeDriver on Heroku CI:
Locally everything works. I tried using both stable and beta channels for Chrome and ChromeDriver on Heroku. Also tried disabling all JavaScripts but still getting the same issue. Any ideas what I could be doing wrong?
Test Code & HTML
Test:
Configuration:
The text was updated successfully, but these errors were encountered: