browser_navigate_back
Return to the previous page in automated accessibility scans to ensure WCAG compliance verification during web navigation testing with MCP Accessibility Scanner.
Instructions
Go back to the previous page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/navigate.ts:52-56 (handler)Handler function that performs the browser back navigation using tab.page.goBack(), includes snapshot in response, and adds corresponding code snippet.handle: async (tab, params, response) => { await tab.page.goBack(); response.setIncludeSnapshot(); response.addCode(`await page.goBack();`); },
- src/tools/navigate.ts:44-50 (schema)Schema definition for the browser_navigate_back tool, specifying name, title, description, empty input schema, and readOnly type.schema: { name: 'browser_navigate_back', title: 'Go back', description: 'Go back to the previous page', inputSchema: z.object({}), type: 'readOnly', },
- src/tools/navigate.ts:59-62 (registration)Exports the goBack tool (browser_navigate_back) as part of the default tool array for registration.export default [ navigate, goBack, ];