org.openqa.selenium.remote.ProtocolHandshake createSession Error
See original GitHub issueDescription
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
- java client build version or git revision if you use some shapshot: v5.0.0
- Appium server version or git revision if you use some shapshot: 1.6.6-beta4
- Desktop OS/version used to run Appium if necessary: macOS Sierra 10.12.6
- Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: nodejs v8.4.0
- Mobile platform/version under test: Android
- Real device or emulator/simulator: Real Device
Exception stacktraces
This is all I get from gradle, even with exceptionFormat
set to full:
Gradle suite > Gradle test STANDARD_ERROR
Aug 28, 2017 2:11:03 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Since the tests don’t actually fail, I don’t get any stacktrace anywhere
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
org.openqa.selenium.remote.ProtocolHandshake ...
The root cause was a ClassCastException . We now catch that exception, log the thing that we were trying to parse, and continue...
Read more >ERROR: org.openqa.selenium.remote.ProtocolHandshake ...
Only local connections are allowed. Oct 29, 2018 12:33:31 PM org.openqa.selenium.remote.ProtocolHandshake createSession. INFO: Detected dialect: ...
Read more >org.openqa.selenium.remote.ProtocolHandshake ...
This error message... org.openqa.selenium.remote.ProtocolHandshake createSession INFORMATION: Attempting bi-dialect session, ...
Read more >org.openqa.selenium.remote.ProtocolHandshake createSession
From the stack-trace it doesn't look to be a problem with Selenium but more of a problem with the Thucydides library you are...
Read more >Error: Unable to open browser with url. PLEASE HELP!
ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126) at org.openqa.selenium.remote.ProtocolHandshake.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@testingy12345 This is not an issue
@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. 👍🏻