Bug 1416162 - Fix error code for InvalidElementStateException r?jgraham
MozReview-Commit-ID: J5nLBJ27xY0
--- a/testing/web-platform/tests/tools/webdriver/webdriver/error.py
+++ b/testing/web-platform/tests/tools/webdriver/webdriver/error.py
@@ -48,17 +48,17 @@ class InvalidCookieDomainException(WebDr
class InvalidElementCoordinatesException(WebDriverException):
http_status = 400
status_code = "invalid element coordinates"
class InvalidElementStateException(WebDriverException):
http_status = 400
- status_code = "invalid cookie domain"
+ status_code = "invalid element state"
class InvalidSelectorException(WebDriverException):
http_status = 400
status_code = "invalid selector"
class InvalidSessionIdException(WebDriverException):