browser_go_back
Enables users to navigate back in the browser history within automated Chrome sessions, bypassing anti-bot detection for efficient web scraping, testing, and automation.
Instructions
Navigate back in browser history
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The @mcp.tool() decorator registers the browser_go_back handler function, which safely executes driver.back() to navigate back in the browser history using shared helpers like ensure_browser and safe_execute.@mcp.tool() async def browser_go_back(): """Navigate back in browser history""" async def go_back_handler(driver: uc.Chrome): driver.back() return await create_success_response("Navigated back in browser history") return await tool.safe_execute( ToolContext(webdriver=await ensure_browser()), go_back_handler )