back
Goes back in browser history, optionally accepting waitUntil and timeout arguments. Returns null if no back is possible
Usage Example:
mutation GoBack {
firstNav: goto(url: "https://example.com") {
time
}
secondNav: goto(url: "https://browserless.com") {
time
}
back(waitUntil: domContentLoaded) {
status
}
}
Field Definition:
back(
timeout: Float
waitUntil: WaitUntilHistory = load
): HTTPResponse
Arguments
back.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.
back.waitUntil ● WaitUntilHistory enum
When to consider the page fully-loaded and proceed with further execution
Type
HTTPResponse object
Response returned after a navigation event