DocsNavigationbrowser_go_back

browser_go_back

browser_go_back

Navigate back to the previous page in the browser's history stack. Equivalent to clicking the browser's back button. Does nothing if there is no previous page in history.

When to use browser_go_back

Use browser_go_back when you need to drive page navigation and browser history in an automation flow. It is part of Owl Browser's Navigation toolset and runs inside a self-hosted, source-level stealth engine, so every call inherits the same undetectable browser fingerprint as the rest of your automation — no separate anti-detect setup required.

Usage Example

1234567891011
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.go_back(
context_id=context_id
)

Parameters

Required

context_idstringrequired

The unique identifier of the browser context (e.g., 'ctx_000001')

Optional

wait_untilenum
loaddomcontentloadednetworkidle+1 more

When to consider navigation complete: 'load' (wait for load event, default; '' is treated as 'load'), 'domcontentloaded' (wait for DOMContentLoaded), 'networkidle' (wait for network to be idle), 'fullscroll' (scroll full page to trigger lazy loading, then scroll back to top)

timeoutinteger

Maximum time to wait for navigation in milliseconds. Only used when wait_until is set. Default: 30000 (30 seconds)

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}

Frequently Asked Questions

What does browser_go_back do?

Navigate back to the previous page in the browser's history stack. Equivalent to clicking the browser's back button. Does nothing if there is no previous page in history. It belongs to Owl Browser's Navigation category and is available through the REST API, the Python SDK (browser.go_back()), the Node.js SDK, and the MCP server.

What parameters does browser_go_back accept?

browser_go_back accepts 1 required parameter (context_id) and 2 optional parameters. All parameters are sent as JSON in a POST request to /api/execute/browser_go_back.

Is browser_go_back detectable by anti-bot systems like Cloudflare or DataDome?

No. browser_go_back executes inside Owl Browser's Chromium engine, which applies fingerprint spoofing at the C++ source level rather than through JavaScript patches. Every tool call shares the same consistent, human-like fingerprint, so anti-bot systems such as Cloudflare, DataDome, and Akamai see an ordinary browser.

Related Tools

Browse the full Owl Browser API reference or get started with the Python SDK and Node.js SDK.