-
Notifications
You must be signed in to change notification settings - Fork 103
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
Unable to connect to older browsers on SauceLabs #210
Comments
I got the same issue, last working version was |
This is an attempt at fixing CI failures due to browser disconnects: karma-runner/karma-sauce-launcher#210
For Version 4.1.5 this change was made: It seems to me, that sauce:options is always passed to sauce labs with this change. |
Hi @web-padawan , Our project has moved away from Sauce Labs, and I am no longer actively involved on this repo. I briefly joined to try and fix some issues, but was unable to do so given the commits built up over a couple years without release. I believe I still have merge rights, so if you'd like to submit PR rolling by I'll approve it |
@web-padawan I don't see major dependency bumps problematic as long as they don't change the behavior of the software. In this case it actually did for people that still test on old browser that don't support the WebDriver protocol. I see two options:
What would you all suggest? |
Thank you for your feedback!
Sounds goos to me in case if this would help to fix the errors with older browsers 👍 |
This sounds like a great solution to me @christian-bromann ! |
@christian-bromann Sounds great! |
New release that fixes this will come asap |
🎉 This issue has been resolved in version 4.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Great to see this fixed. Thank you! |
This is happening with multiple repos, all of which previously worked without issue.
Connections are made as expected when later versions of Chrome, Edge, Firefox, IE, and Safari are used (although with a deprecation warning as mentioned in #209). Easier versions of every browser fail consistently. For example, here is the console output from testing with Chrome 26 on Windows 10:
The error descriptions read to me like errors with karma-sauce-launcher:
16 06 2020 11:56:51.473:ERROR [SaucelabsLauncher]: Error: Failed to create session. Missing or invalid 'desiredCapabilities' at startWebDriverSession (/Users/john/Dev/canvas-size/node_modules/webdriver/build/utils.js:45:11) at processTicksAndRejections (internal/process/task_queues.js:94:5)
I was able to come up with a list of browser/platform combinations that work reliably. Any browser version earlier than the ones listed below will fail to connect.
One thing I noticed on SauceLabs' Platform Configurator page is an option to select either the "WebDriver (W3C) - Selenium 3/4, Webdriver.io" or "Legacy - Selenium 2/3" API.
Perhaps the issue is related a configuration for the new API being incorrectly being sent to browser/platform combinations that are require the older API?
Thanks!
The text was updated successfully, but these errors were encountered: