Skip to content

Commit 7b7c7dd

Browse files
committed
[grid] Logging correct caps for session creation
1 parent 254e534 commit 7b7c7dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

java/src/org/openqa/selenium/grid/node/local/LocalNode.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,10 @@ public Either<WebDriverException, CreateSessionResponse> newSession(
495495
desiredCapabilities);
496496

497497
String sessionCreatedMessage = "Session created by the Node";
498-
LOG.info(String.format("%s. Id: %s, Caps: %s", sessionCreatedMessage, sessionId, caps));
498+
LOG.info(
499+
String.format(
500+
"%s. Id: %s, Caps: %s",
501+
sessionCreatedMessage, sessionId, externalSession.getCapabilities()));
499502

500503
return Either.right(
501504
new CreateSessionResponse(

0 commit comments

Comments
 (0)