Skip to content

Commit ef13321

Browse files
committed
Fixing "no such alert" error mapping
1 parent 0c120ed commit ef13321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public class ErrorCodes {
110110
.put(SUCCESS, "success")
111111
.put(TIMEOUT, "timeout")
112112
.put(UNABLE_TO_SET_COOKIE, "unable to set cookie")
113-
.put(UNEXPECTED_ALERT_PRESENT, "no such alert") // @Beta: not sure if this is the right name
113+
.put(NO_ALERT_PRESENT, "no such alert")
114114
.put(UNHANDLED_ERROR, "unhandled error")
115115
.put(UNKNOWN_COMMAND, "unknown command")
116116
.put(XPATH_LOOKUP_ERROR, "invalid selector")

0 commit comments

Comments
 (0)