Skip to main content
Glama

playwright_go_forward

Navigate forward in browser history to revisit previously viewed pages within Playwright MCP Server's real browser environment, enabling continuous web interaction and testing.

Instructions

Navigate forward in browser history

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "required": [], "type": "object" }

Implementation Reference

  • The GoForwardTool class provides the core handler logic for the 'playwright_go_forward' tool, executing 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 name, description, and input schema (no required parameters) for 'playwright_go_forward'.
    { name: "playwright_go_forward", description: "Navigate forward in browser history", inputSchema: { type: "object", properties: {}, required: [], }, },
  • Registers and dispatches the 'playwright_go_forward' tool call to the GoForwardTool instance's execute method in the main tool handling switch statement.
    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/pvinis/mcp-playwright-stealth'

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