Updating HTTP error return status for IE driver to align with spec
@@ -121,14 +121,14 @@ int Response::GetHttpResponseCode(void) {
this->error_ == ERROR_INVALID_COORDINATES ||
this->error_ == ERROR_INVALID_ELEMENT_STATE ||
this->error_ == ERROR_INVALID_SELECTOR ||
- this->error_ == ERROR_NO_SUCH_ALERT ||
- this->error_ == ERROR_NO_SUCH_FRAME ||
- this->error_ == ERROR_NO_SUCH_WINDOW ||
this->error_ == ERROR_STALE_ELEMENT_REFERENCE) {
response_code = 400;
} else if (this->error_ == ERROR_INVALID_SESSION_ID ||
this->error_ == ERROR_NO_SUCH_COOKIE ||
+ this->error_ == ERROR_NO_SUCH_ALERT ||
this->error_ == ERROR_NO_SUCH_ELEMENT ||
+ this->error_ == ERROR_NO_SUCH_FRAME ||
+ this->error_ == ERROR_NO_SUCH_WINDOW ||
this->error_ == ERROR_UNKNOWN_COMMAND) {
response_code = 404;
} else if (this->error_ == ERROR_SCRIPT_TIMEOUT ||
