open_browser
Launch a new browser session and obtain a session ID for controlling the browser with subsequent automation commands.
Instructions
Launch a new browser session.
Purpose
Creates a Selenium WebDriver instance and registers it in the MCP
session store. The returned session_id must be passed to all
subsequent browser tool calls.
Typical Agent Workflow
open_browser
open_url
wait_for_page
interact with elements
Parameters
browser : str Browser type to launch (default: "chrome"). headless : bool Run without a visible window (default: False). Set True on servers, Docker containers, or CI environments.
Returns
dict {"session_id": str, "browser": str, "headless": bool, "status": str, "message": str}
Note
Only call this tool ONCE per workflow, unless explicitly instructed. Do not call it again unless the previous browser session was closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | chrome | |
| headless | No |