mirror of
https://github.com/appium/appium.git
synced 2026-10-29 04:36:39 +08:00
* Convert JSONWP proxy errors * Previously, if a proxied response has a status code >= 0 but http status code 200, the error is thrown but it's an unknown error because the 'getResponseForW3CError' function doesn't translate the error * Now, it translates the JSONWP error using logic we already have that accomplishes this * Added E2E test that tests a proxy that returns 200 but status 7 to check that it throws the correct ElementNotFoundError * Added unit test to handle the new case in 'getResponseForW3CError'