Skip to content

Commit 9779f0b

Browse files
sevasevalukeis
authored andcommitted
Improving "Session ID is null" error message
Signed-off-by: Luke Inman-Semerau <luke.semerau@gmail.com>
1 parent a9ca629 commit 9779f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public Response execute(Command command) throws IOException {
273273
}
274274
if (!GET_ALL_SESSIONS.equals(command.getName())
275275
&& !NEW_SESSION.equals(command.getName())) {
276-
throw new SessionNotFoundException("Session ID is null");
276+
throw new SessionNotFoundException("Session ID is null. Using WebDriver after calling quit()?");
277277
}
278278
}
279279

0 commit comments

Comments
 (0)