Skip to content

Commit ae3ceea

Browse files
committed
Log dialect of protocol detected by the protocol handshake.
It was possible to figure this out by looking at the other log messages, but being clear rather than inferring things is the best thing to do.
1 parent 54d53e8 commit ae3ceea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/client/src/org/openqa/selenium/remote/ProtocolHandshake.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ public Result createSession(HttpClient client, Command command)
7171
}
7272

7373
if (result.isPresent()) {
74-
return result.get();
74+
Result toReturn = result.get();
75+
LOG.info(String.format("Detected dialect: %s", toReturn.dialect));
76+
return toReturn;
7577
}
7678

7779
throw new SessionNotCreatedException(

0 commit comments

Comments
 (0)