Skip to main content

reload

Reloads the given page with an optional waitUntil parameter and timeout parameter

Example:

mutation Reload {
goto(url: "https://example.com") {
status
}
reload(timeout: 10000) {
status
}
}
reload(
timeout: Float
waitUntil: WaitUntilHistory = commit
): HTTPResponse

Arguments

reload.timeout ● Float scalar

The maximum amount of time, in milliseconds, to wait for the page to load, overriding any defaults. Default timeout is 30 seconds, or 30000.

reload.waitUntil ● WaitUntilHistory enum

When to consider the page fully-loaded and proceed with further execution

Type

HTTPResponse object

Response returned after a navigation event