Module: selenium-webdriver/http
class Response
- Alias for
webdriver.http.Response
Represents a HTTP response.
new Response(status, headers, body)
Instance Methods
Instance Properties
Static Functions
Response.fromXmlHttpRequest(xhr)code »
Builds a webdriver.http.Response
from a XMLHttpRequest
or
XDomainRequest
response object.
Parameters
- xhr
(XDomainRequest|XMLHttpRequest)
The request to parse.
Returns
webdriver.http.Response
The parsed response.