start_browser
Launch a persistent browser session for automation, preserving cookies, tabs, and state across subsequent tool calls until closed.
Instructions
Launch a persistent SeleniumBase Pure CDP Mode browser session.
Call this before using browser interaction tools such as navigate, get_content, click, type_text, or find_elements. The same browser session remains active across subsequent MCP tool calls until close_browser is called or the server process exits.
Pure CDP Mode controls the browser through the Chrome DevTools Protocol (CDP), not WebDriver.
Args: url: Optional URL to navigate to during browser startup. When provided, the tool waits for the browser launch/navigation operation to complete before returning. If omitted, the browser starts without navigating to a specified URL.
headless: Controls whether the browser runs without a visible window.
True forces headless mode; False forces headed mode. If None, this
tool defaults to headless on Linux and headed on Windows/macOS.
use_chromium: Use Chromium instead of Google Chrome. This is useful
when Google Chrome is not installed. SeleniumBase can manage the
Chromium browser when this option is enabled.
browser_executable_path: Optional path to the browser executable.
Use this when the desired browser is installed at a non-standard
location. Mutually exclusive with use_chromium.
incognito: Launch Chrome/Chromium in incognito mode.
guest: Launch Chrome/Chromium in guest mode.
Do not combine this with incognito=True.
ad_block: Enable SeleniumBase's basic ad-blocking functionality.
proxy: Optional proxy server.
Examples include "SERVER:PORT" or "USER:PASS@SERVER:PORT".Returns: A confirmation message when the browser starts successfully, or a descriptive error if the browser startup fails.
Startup behavior: If the initial launch fails, the tool automatically retries once.
Lifecycle: Call start_browser once at the beginning of a browser automation workflow. Reusing the existing session preserves cookies, tabs, navigation history, localStorage/sessionStorage, and other browser state between tool calls. Call close_browser when finished. If a browser session is already running, this tool does not launch another browser and instead returns a message indicating that the existing session is active.
Environment requirements: The MCP runtime must have a compatible Chrome or Chromium browser available. If the browser executable cannot be discovered, use use_chromium=True or provide browser_executable_path explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| guest | No | ||
| proxy | No | ||
| ad_block | No | ||
| headless | No | ||
| incognito | No | ||
| use_chromium | No | ||
| browser_executable_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |