Skip to main content

goto

Navigates to a URL with an optional waitUntil parameter and timeout parameter

Example:

mutation Goto {
goto(url: "https://example.com") {
status
}
}
goto(
url: String!
timeout: Float
waitUntil: WaitUntilGoto = commit
): HTTPResponse

Arguments

goto.url ● String! non-null scalar

The fully-qualified URL of the page you'd like to navigate to

goto.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.

goto.waitUntil ● WaitUntilGoto enum

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

Type

HTTPResponse object

Response returned after a navigation event