Skip to main content
Glama

playwright_go_forward

Navigate forward in browser history to revisit previously viewed pages. Use this tool in browser automation workflows for efficient web navigation tasks.

Instructions

Navigate forward in browser history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The GoForwardTool class implements the core logic for the playwright_go_forward tool by invoking page.goForward() on the Playwright page instance.
    export class GoForwardTool extends BrowserToolBase { /** * Execute the go forward tool */ async execute(args: any, context: ToolContext): Promise<ToolResponse> { return this.safeExecute(context, async (page) => { await page.goForward(); return createSuccessResponse("Navigated forward in browser history"); }); } }
  • Defines the tool's metadata including name, description, and input schema (empty as no parameters required).
    name: "playwright_go_forward", description: "Navigate forward in browser history", inputSchema: { type: "object", properties: {}, required: [], }, },
  • Registers the tool handler by dispatching calls to the GoForwardTool instance in the main tool switch statement.
    case "playwright_go_forward": return await goForwardTool.execute(args, context);
  • Instantiates the GoForwardTool instance for use in handling tool calls.
    if (!goForwardTool) goForwardTool = new GoForwardTool(server);
  • src/tools.ts:468-468 (registration)
    Includes the tool in the BROWSER_TOOLS array, which determines browser launch requirements.
    "playwright_go_forward",

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/executeautomation/mcp-playwright'

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