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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/browser/navigation.ts:111-121 (handler)GoForwardTool class with execute method that performs page.goForward() to navigate forward in browser historyexport 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:379-386 (schema)Tool schema definition for playwright_go_forward with empty input schema as no arguments are requiredname: "playwright_go_forward", description: "Navigate forward in browser history", inputSchema: { type: "object", properties: {}, required: [], }, },
- src/toolHandler.ts:542-543 (registration)Switch case in handleToolCall that dispatches to GoForwardTool.executecase "playwright_go_forward": return await goForwardTool.execute(args, context);
- src/toolHandler.ts:344-344 (registration)Instantiation of GoForwardTool instanceif (!goForwardTool) goForwardTool = new GoForwardTool(server);
- src/tools.ts:468-468 (registration)Inclusion in BROWSER_TOOLS array for conditional browser launch"playwright_go_forward",