Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/remote/RemoteWebDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ protected Response execute(CommandPayload payload) {
} else {
toThrow =
new SessionNotCreatedException(
"Possible causes are invalid address of the remote server or browser start-up"
+ " failure.",
"Possible causes are invalid address of the remote server, insufficient"
+ " capabilities provided or browser start-up failure.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What type of insufficient capabilities would cause this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe any kind of insufficient capabilities will cause this as it seems to be in #14125

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for sharing. I think the error emphasises sharing the capabilities causing the error, which might not be possible or need to be shared as part of the exception. This message does not capture enough details to fix that issue and it also adds to the existing ambiguity. I am going to close this PR. Please look into how the capabilities causing the error can be shared out. Thank you!

e);
}
} else if (e instanceof WebDriverException) {
Expand Down
Loading