browser_open
Opens a URL in Firefox, starting a new browser session if needed. Captures JavaScript errors, console output, and network requests with BiDi.
Instructions
Open URL in Firefox. Starts a new browser session if none is running.
With enable_bidi=True (default) the session automatically captures: • All JavaScript exceptions (file, line, column, stack trace) • All console.* output (log / warn / error / info / debug) • All network requests with status codes and durations
geckodriver sources (priority order):
GECKODRIVER_PATH env → 2. apt install gecko-driver → 3. webdriver-manager
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to open | |
| headless | No | Headless mode (no visible window) | |
| enable_bidi | No | Enable WebDriver BiDi for DevTools capture (JS errors, console, network). Requires Firefox + geckodriver ≥ 0.34. Default True. | |
| geckodriver_log | No | Optional file path for geckodriver log | |
| firefox_binary | No | Optional path to a custom Firefox binary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |