print requested capabilities in SessionNotCreatedException#11604
print requested capabilities in SessionNotCreatedException#11604diemol merged 1 commit intoSeleniumHQ:trunkfrom asolntsev:fix/print-capabilities-in-session-not-created-exception
Conversation
Codecov ReportBase: 54.65% // Head: 54.65% // No change to project coverage 👍
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## trunk #11604 +/- ##
=======================================
Coverage 54.65% 54.65%
=======================================
Files 85 85
Lines 5643 5643
Branches 244 244
=======================================
Hits 3084 3084
Misses 2315 2315
Partials 244 244 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
A couple of things are failing in our CI, we are checking them and after that will merge this PR. Thanks, @asolntsev! |
without this change, `SessionNotCreatedException` always prints out empty capabilities:
```
org.openqa.selenium.SessionNotCreatedException: Could not start a new session...
Host info: ...
Build info: version: '4.8.0'...
System info: ...
Driver info: ...
Command: [null, newSession...}]
Capabilities {}
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:561)
```
Description
Currently
SessionNotCreatedExceptionalways prints out empty capabilities:Types of changes