We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1f0a1 commit fa0bed6Copy full SHA for fa0bed6
java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java
@@ -165,6 +165,10 @@ public Response execute(Command command) throws IOException {
165
String sessionId = HttpSessionId.getSessionId(httpResponse.getTargetHost());
166
response.setSessionId(sessionId);
167
}
168
+ if (response.getSessionId() == null) {
169
+ // Spam in the session id from the request
170
+ response.setSessionId(command.getSessionId().toString());
171
+ }
172
if (QUIT.equals(command.getName())) {
173
client.close();
174
0 commit comments