Skip to main content
Glama

browser_navigate_forward

Navigate forward in the browser to return to the next page in browsing history after using the back button.

Instructions

Navigate forward in the browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Inline handler function for the 'browser_navigate_forward' tool. Retrieves the current WebDriver from StateManager and performs a forward navigation in the browser history, returning a success or error message.
    server.tool('browser_navigate_forward', 'Navigate forward in the browser', {}, async () => { try { const driver = stateManager.getDriver(); await driver.navigate().forward(); return { content: [{ type: 'text', text: `Navigated forward` }], }; } catch (e) { return { content: [ { type: 'text', text: `Error navigating forward: ${(e as Error).message}`, }, ], }; } });
  • Direct registration of the 'browser_navigate_forward' tool using server.tool(), with empty input schema and inline handler.
    server.tool('browser_navigate_forward', 'Navigate forward in the browser', {}, async () => { try { const driver = stateManager.getDriver(); await driver.navigate().forward(); return { content: [{ type: 'text', text: `Navigated forward` }], }; } catch (e) { return { content: [ { type: 'text', text: `Error navigating forward: ${(e as Error).message}`, }, ], }; } });
  • src/tools/index.ts:9-9 (registration)
    Invocation of registerBrowserTools within registerAllTools, which registers the browser_navigate_forward tool among others.
    registerBrowserTools(server, 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