Skip to main content

reconnect

Returns a payload with reconnection information in order to reconnect back to the same browser session

Example:

mutation Reconnect {
goto(url: "https://example.com") {
status
}

reconnect(timeout: 30000) {
browserQLEndpoint
browserWSEndpoint
devtoolsFrontendUrl
webSocketDebuggerUrl
}
}
reconnect(
timeout: Float = 30000
): ReconnectionResponse

Arguments

reconnect.timeout ● Float scalar

The amount of time, in milliseconds, to leave the browser open without a connection before it is manually terminated. Defaults to 30 seconds

Type

ReconnectionResponse object

The response received after attempting to reconnect a BrowserQL session