Navigate a renderer to a URL
navigateNavigate to a URL in an Electron renderer and wait for page load. Use to programmatically change views without UI automation.
Instructions
Call Page.navigate on the target renderer. Useful for driving the Electron app into a specific view without scripting a button click (file:// for packaged builds, http://localhost:5173/... for dev). Waits for the frame's loadEventFired before returning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. | |
| url | Yes | Destination URL. | |
| target | No | Target id from `list_windows`. | |
| waitLoadTimeoutMs | No | How long to wait for load (default 15000). Set 0 to skip waiting. |