Skip to main content
Glama
devskido

Playwright MCP Server

by devskido

playwright_go_forward

Advance in browser history for navigation during automation tasks, enabling efficient interaction with web pages in a Playwright-based browser environment.

Instructions

Navigate forward in browser history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • GoForwardTool class with execute method that performs page.goForward() to navigate forward in browser history
    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"); }); } }
  • Tool schema definition for playwright_go_forward with empty input schema as no arguments are required
    name: "playwright_go_forward", description: "Navigate forward in browser history", inputSchema: { type: "object", properties: {}, required: [], }, },
  • Switch case in handleToolCall that dispatches to GoForwardTool.execute
    case "playwright_go_forward": return await goForwardTool.execute(args, context);
  • Instantiation of GoForwardTool instance
    if (!goForwardTool) goForwardTool = new GoForwardTool(server);
  • src/tools.ts:468-468 (registration)
    Inclusion in BROWSER_TOOLS array for conditional browser launch
    "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/devskido/customed-playwright'

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