Namespace: webdriver.httpView Sourceclass ResponseRepresents a HTTP response. new Response(status, headers, body)ParametersstatusnumberThe response code. headersObject<?, string>The response headers. All header names will be converted to lowercase strings for consistent lookups. bodystringThe response body. Instance MethodstoString()code »ReturnsstringInstance PropertiesbodystringThe response body. headersObject<?, string>The response body. statusnumberThe HTTP response code. Static FunctionsResponse.fromXmlHttpRequest(xhr)code »Builds a webdriver.http.Response from a XMLHttpRequest or XDomainRequest response object. Parametersxhr(XDomainRequest|XMLHttpRequest)The request to parse. Returnswebdriver.http.ResponseThe parsed response.