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 cac9bf3 commit 4e528a5Copy full SHA for 4e528a5
java/client/test/org/openqa/selenium/remote/ErrorHandlerTest.java
@@ -479,7 +479,7 @@ public void testStatusCodesRaisedBackToStatusMatches() {
479
int expected = exception.getKey();
480
if (e instanceof InvalidSelectorException) {
481
// all of the special invalid selector exceptions are just mapped to the generic invalid selector
482
- expected = 32;
+ expected = ErrorCodes.INVALID_SELECTOR_ERROR;
483
}
484
int seenStatusCode = new ErrorCodes().toStatusCode(e);
485
if (seenStatusCode != expected) {
0 commit comments