Skip to main content

HTTPResponse

Response returned after a navigation event

type HTTPResponse {
status: Int
time: Float
text: String
url: String
}

Fields

HTTPResponse.status ● Int scalar

The status code response of the initial page-load

HTTPResponse.time ● Float scalar

The amount of time, in milliseconds, elapsed since the start of navigation to completion

HTTPResponse.text ● String scalar

The status text of the response from the initial page-load. Generally 'ok'

HTTPResponse.url ● String scalar

The final URL of the page after any potential redirects or URL rewrites

Returned By

back mutation ● content mutation ● forward mutation ● goto mutation ● reload mutation ● waitForNavigation mutation