goto
Navigates to a URL with an optional waitUntil parameter and timeout parameter
**Usage Example:**
mutation NavigateToPage {
goto(url: "https://example.com") {
status
}
}
**Field Definition:**
goto(
url: String!
timeout: Float
waitUntil: WaitUntilGoto = load
waitUntilAll: [WaitUntilGoto!]
referer: String
referrerPolicy: String
): 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
goto.waitUntilAll ● [WaitUntilGoto!] list enum
Wait for every listed lifecycle event. This preserves Puppeteer waitUntil array semantics.
goto.referer ● String scalar
The Referer header to send with the navigation request
goto.referrerPolicy ● String scalar
The referrer policy to use for the navigation request
Type
HTTPResponse object
Response returned after a navigation event