browser_navigate_forward
Navigate to the next page in a browser session using structured web interactions. Simplifies forward navigation in automated workflows with Playwright MCP.
Instructions
Go forward to the next page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/navigate.ts:70-75 (handler)The handler function that implements the browser_navigate_forward tool. It navigates forward in the browser history using tab.page.goForward() and updates the response with a snapshot and code snippet.handle: async (tab, params, response) => { await tab.page.goForward(); response.setIncludeSnapshot(); response.addCode(`// Navigate forward`); response.addCode(`await page.goForward();`); },
- src/tools/navigate.ts:63-69 (schema)The schema definition for the browser_navigate_forward tool, specifying its name, title, description, empty input schema, and readOnly type.schema: { name: 'browser_navigate_forward', title: 'Go forward', description: 'Go forward to the next page', inputSchema: z.object({}), type: 'readOnly', },
- src/tools/navigate.ts:78-82 (registration)Exports the browser_navigate_forward tool (as goForward) along with other navigation tools for inclusion in the main tools registry.export default [ navigate, goBack, goForward, ];
- src/tools.ts:36-52 (registration)Registers all tools by spreading the navigate tools (including browser_navigate_forward) into the central allTools array.export const allTools: Tool<any>[] = [ ...common, ...console, ...dialogs, ...evaluate, ...files, ...install, ...keyboard, ...navigate, ...network, ...mouse, ...pdf, ...screenshot, ...snapshot, ...tabs, ...wait, ];