Navigate to URL
chrome_navigateNavigates the browser to a specified URL, waits for page load, and can pause until a CSS selector appears or network activity stops for reliable automated UI testing.
Instructions
Navigate the browser to a specified URL.
Opens the given URL and waits for the page to load. Optionally waits for a specific element to appear.
Args:
url (string): URL to navigate to (required)
waitForSelector (string): CSS selector to wait for (optional)
waitForNetworkIdle (boolean): Wait for network activity to stop (default: true)
timeout (number): Navigation timeout in ms (default: 30000)
Returns: Confirmation of successful navigation.
Examples:
Simple navigation: { url: "https://example.com" }
Wait for element: { url: "https://app.com", waitForSelector: ".dx-datagrid" }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "chrome_navigate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to navigate to | |
| timeout | No | Navigation timeout in milliseconds (default: 30000) | |
| waitForSelector | No | CSS selector to wait for before considering page loaded | |
| waitForNetworkIdle | No | Wait for network to be idle (default: true) |