navigate
Direct the Chromium ARM64 Browser to load a specific URL for browser automation and web testing on ARM64 devices like Raspberry Pi.
Instructions
Navigate to a URL
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to navigate to |
Implementation Reference
- index.js:603-610 (handler)The handler function for the 'navigate' tool. It ensures the Chromium browser is running, sends the CDP 'Page.navigate' command with the provided URL, and returns a success message.async navigate(url) { await this.ensureChromium(); await this.sendCDPCommand('Page.navigate', { url }); return { content: [{ type: 'text', text: `Successfully navigated to ${url}` }], }; }
- index.js:105-118 (schema)The tool schema definition including name, description, and input schema for the 'navigate' tool, returned by ListToolsRequest.{ name: 'navigate', description: 'Navigate to a URL', inputSchema: { type: 'object', properties: { url: { type: 'string', description: 'The URL to navigate to', }, }, required: ['url'], }, },
- index.js:351-352 (registration)The dispatch/registration in the CallToolRequest handler switch statement that routes 'navigate' calls to the navigate handler method.case 'navigate': return await this.navigate(args.url);