This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following sentence uses "error" twice for JSON field names. Is this correct? Should one be "status"? "This JSON body has two fields: error, containing a string indicating the error type and error containing an implementation-defined string containing a human readable description of the kind of error that occured."
https://w3c.github.io/webdriver/webdriver-spec.html
Thanks for noticing this. The body sent back as part of an error response should have three fields, of which two are implementation-defined (meaning they can be empty strings): { "error": "no such element", "message": "Could not locate element by locator: …", "stacktrace": "" } I’ve opened https://github.com/w3c/webdriver/pull/87 to reflect this. There are more commands that haven’t yet been changed to use the new dispatch architecture that still use the term “status”, but we can fix these as we redefine them.
landed in https://github.com/w3c/webdriver/commit/1f55f3ec285daf2665f28305c1e24595a4eb040e