File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,14 @@ int Response::GetHttpResponseCode(void) {
121
121
this ->error_ == ERROR_INVALID_COORDINATES ||
122
122
this ->error_ == ERROR_INVALID_ELEMENT_STATE ||
123
123
this ->error_ == ERROR_INVALID_SELECTOR ||
124
- this ->error_ == ERROR_NO_SUCH_ALERT ||
125
- this ->error_ == ERROR_NO_SUCH_FRAME ||
126
- this ->error_ == ERROR_NO_SUCH_WINDOW ||
127
124
this ->error_ == ERROR_STALE_ELEMENT_REFERENCE) {
128
125
response_code = 400 ;
129
126
} else if (this ->error_ == ERROR_INVALID_SESSION_ID ||
130
127
this ->error_ == ERROR_NO_SUCH_COOKIE ||
128
+ this ->error_ == ERROR_NO_SUCH_ALERT ||
131
129
this ->error_ == ERROR_NO_SUCH_ELEMENT ||
130
+ this ->error_ == ERROR_NO_SUCH_FRAME ||
131
+ this ->error_ == ERROR_NO_SUCH_WINDOW ||
132
132
this ->error_ == ERROR_UNKNOWN_COMMAND) {
133
133
response_code = 404 ;
134
134
} else if (this ->error_ == ERROR_SCRIPT_TIMEOUT ||
You can’t perform that action at this time.
0 commit comments