-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
org.openqa.selenium.remote.ProtocolHandshake createSession Error #707
Comments
Can you share your build.gradle config here @welnanick |
I removed a few sensitive things, but they were all just names of tests and files, not anything config wise. I should note this also is happening on v5.0.1 and happens with iOS as well, tests still all run fine. |
@welnanick |
It happens every time I run my test suite, but does not affect the actual execution. Gradle is outputting an "error" from selenium (it prints to STANDARD_ERROR), but nothing actually fails. |
I get the stacktrace from my original post, and then everything continues on as if nothing was wrong. |
According to this: SeleniumHQ/selenium#3087, it might be intentional that it is printing out. This doesn't explain why it wasn't printing out before, but may be why it is printing out now? |
I'm getting the same error here with 5.0.0 and 5.0.1: The error is because the version of com.google.common.collect.ImmutableSet does not have the "toImmutableSet" method. (ProtocolHandshake class, streamW3CProtocolParameters method) Maybe the Guava version is the culprit? |
It also can't find the method 'throwIfUnchecked' in the AppiumCommandExecutor class |
@welnanick @SantiCF is there similar problem with 5.0.2? |
I still get the output to STANDARD_ERROR, but no change in behavior. Everything still runs fine. Like before, this "error" is happening but not affecting anything in my tests. Can't speak for other people however. |
@TikhomirovSergey it fixed it for me. As well as excluding selenium and adding the latest manually. So 5.0.2 is good on my end even without the mentioned workaround. 👍🏻 |
org.openqa.selenium.remote.ProtocolHandshake createSession |
@testingy12345 This is not an issue |
Description
I updated to java-client v5.0.0 today and suddenly my tests would show an org.openqa.selenium.remote.ProtocolHandshake createSession error when starting the test suite, but the tests still all passed without issue.
Environment
Exception stacktraces
This is all I get from gradle, even with
exceptionFormat
set to full:Since the tests don't actually fail, I don't get any stacktrace anywhere
The text was updated successfully, but these errors were encountered: