Launch Chrome Browser
chrome_launch_browserStarts a controllable Chrome browser for automated web testing, with headless or visible mode and custom launch options. Call it before other Chrome testing tools to begin a session.
Instructions
Launch a Chrome browser instance for testing web applications.
This tool starts a new Chrome browser that can be controlled for automated testing. It must be called before any other chrome_* tools.
Args:
headless (boolean): Run browser without visible window (default: true)
executablePath (string): Custom Chrome/Chromium path (optional)
args (string[]): Additional Chrome command-line arguments (optional)
Returns: Status message confirming browser launch.
Examples:
Start headless browser: { headless: true }
Start visible browser for debugging: { headless: false }
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chrome_launch_browser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional Chrome arguments | |
| headless | No | Run browser in headless mode (default: true) | |
| executablePath | No | Custom Chrome/Chromium executable path |