File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,15 +120,15 @@ int Response::GetHttpResponseCode(void) {
120
120
this ->error_ == ERROR_INVALID_COOKIE_DOMAIN ||
121
121
this ->error_ == ERROR_INVALID_COORDINATES ||
122
122
this ->error_ == ERROR_INVALID_ELEMENT_STATE ||
123
- this ->error_ == ERROR_INVALID_SELECTOR ||
124
- this ->error_ == ERROR_STALE_ELEMENT_REFERENCE) {
123
+ this ->error_ == ERROR_INVALID_SELECTOR) {
125
124
response_code = 400 ;
126
125
} else if (this ->error_ == ERROR_INVALID_SESSION_ID ||
127
126
this ->error_ == ERROR_NO_SUCH_COOKIE ||
128
127
this ->error_ == ERROR_NO_SUCH_ALERT ||
129
128
this ->error_ == ERROR_NO_SUCH_ELEMENT ||
130
129
this ->error_ == ERROR_NO_SUCH_FRAME ||
131
130
this ->error_ == ERROR_NO_SUCH_WINDOW ||
131
+ this ->error_ == ERROR_STALE_ELEMENT_REFERENCE ||
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