Skip to main content
Glama

browser_navigate_back

Navigate back to the previous page in the browser to return to prior web content or correct navigation errors during automated browsing sessions.

Instructions

Navigate back in the browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'browser_navigate_back' tool, which retrieves the current browser driver and navigates back in the browser history.
    server.tool('browser_navigate_back', 'Navigate back in the browser', {}, async () => { try { const driver = stateManager.getDriver(); await driver.navigate().back(); return { content: [{ type: 'text', text: `Navigated back` }], }; } catch (e) { return { content: [ { type: 'text', text: `Error navigating back: ${(e as Error).message}`, }, ], }; } });
  • src/tools/index.ts:9-9 (registration)
    Registers all browser tools, including 'browser_navigate_back', via registerBrowserTools.
    registerBrowserTools(server, stateManager);
  • src/server.ts:55-55 (registration)
    Top-level registration of all tools, which includes browser tools containing 'browser_navigate_back'.
    registerAllTools(this.server, this.stateManager);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pshivapr/selenium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server