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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/browser/navigation.ts:109-119 (handler)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"); }); } }
- src/tools.ts:422-429 (schema)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: [], }, },
- src/toolHandler.ts:643-644 (registration)Registration in the main tool handler switch statement, dispatching execution to the GoForwardTool instance.case "playwright_go_forward": return await goForwardTool.execute(args, context);