Skip to main content
Glama

playwright_go_forward

Navigate forward in browser history during automated testing with Playwright. Use this tool to simulate user clicks on the forward button for browser automation workflows.

Instructions

Navigate forward in browser history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The GoForwardTool class that implements the core logic of the playwright_go_forward tool by calling 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"); }); } }
  • The input schema and metadata definition for the playwright_go_forward tool.
    name: "playwright_go_forward", description: "Navigate forward in browser history", inputSchema: { type: "object", properties: {}, required: [], }, },
  • Registration in the main tool handler switch statement, dispatching execution to the GoForwardTool instance.
    case "playwright_go_forward": return await goForwardTool.execute(args, context);

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

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