Skip to content

Commit 8f63541

Browse files
committed
Java: Adding a new W3C-compatible string error code
1 parent 8d303c2 commit 8f63541

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public class ErrorCodes {
125125
builder.put(pair.getValue(), pair.getKey());
126126
}
127127
}
128+
builder.put("invalid session id", NO_SUCH_SESSION); // for W3C compatibility
128129
stateToStatus = builder.build();
129130
}
130131

0 commit comments

Comments
 (0)