An action object constructed with arguments id, type, and subtype is an
object with property id set to id, type set to type and subtype set to
subtype.
Errors are represented in the WebDriver protocol by an HTTP response with an
HTTP status in the 4xx or 5xx range, and a JSON body containing details of
the error.