real-browser
v1.2.1MCP server + Chrome extension for AI browser control with real sessions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_click
Click an element on the page using a ref from snapshot or a CSS selector
| Parameter | Type | Description |
|---|---|---|
button | string | |
doubleClick | boolean | |
ref | string | Element reference from snapshot (e.g. "e12") |
selector | string | CSS selector for the element |
browser_type
Type text into an input element
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to type |
clear | boolean | Clear the field before typing |
ref | string | Element reference from snapshot |
selector | string | CSS selector for the input |
browser_scroll
Scroll the page or an element. Supports pixel offsets, scrolling to elements, and named positions (top/bottom). Works with virtual scroll containers used by social media sites.
| Parameter | Type | Description |
|---|---|---|
amount | number | Pixels to scroll |
direction | string | |
position | string | Scroll to top or bottom of page |
selector | string | CSS selector of scroll container (for virtual scroll) |
toElement | string | Ref or CSS selector to scroll into view |
browser_press_key
Press a keyboard key or combination (Enter, Escape, Tab, ArrowDown, etc). Supports modifiers like Ctrl+A, Cmd+C.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name (e.g. "Enter", "Escape", "Tab", "ArrowDown", "a") |
modifiers | array | Modifier keys to hold |
ref | string | Element ref to focus before pressing |
selector | string | CSS selector to focus before pressing |
browser_wait
Wait for a condition: element to appear, element to disappear, or a fixed delay. Useful for SPAs and dynamic content.
| Parameter | Type | Description |
|---|---|---|
delay | number | Fixed delay in ms (ignores selector) |
selector | string | CSS selector to wait for |
state | string | Wait until element is visible, hidden, or attached to DOM |
timeout | number | Max wait time in ms |
browser_snapshot
Get an accessibility tree snapshot of the page. Returns element refs you can use with click, type, and other tools. Use compact mode (default) for smaller output - only interactive elements.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | When true (default), returns only interactive elements with minimal nesting. Set false for full tree. |
selector | string | CSS selector to scope the snapshot |
browser_screenshot
Capture a screenshot of the visible page area
| Parameter | Type | Description |
|---|---|---|
format | string | |
quality | number | JPEG quality (ignored for PNG) |
browser_console
Read console messages (log, warn, error) from the browser
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Clear messages after reading |
browser_network
Read network requests made by the page. Filter by URL pattern.
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Clear requests after reading |
filter | string | URL regex pattern to filter requests |
browser_tabs
Manage browser tabs: list, create, close, or focus
| Parameter | Type | Description |
|---|---|---|
action * | string | Tab action |
tabId | number | Tab ID for close/focus |
url | string | URL for create action |
browser_find
Find elements on the page using natural language (e.g. "login button", "search input"). Returns refs you can use with click/type.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language description of what to find |
limit | number | Max matches to return |
browser_text
Extract raw text content from the page or a specific element
| Parameter | Type | Description |
|---|---|---|
maxLength | number | Max text length to return |
selector | string | CSS selector to scope text extraction |
browser_hover
Hover over an element to trigger tooltips, dropdown menus, or hover states
| Parameter | Type | Description |
|---|---|---|
ref | string | Element reference from snapshot |
selector | string | CSS selector for the element |
browser_select
Select an option from a dropdown/select element
| Parameter | Type | Description |
|---|---|---|
index | number | Option index to select (0-based) |
label | string | Option label text to select |
ref | string | Element reference from snapshot |
selector | string | CSS selector for the select element |
value | string | Option value to select |
browser_evaluate
Execute JavaScript in the page and return the result. Use for DOM queries, reading page state, or any operation not covered by other tools.
| Parameter | Type | Description |
|---|---|---|
expression * | string | JavaScript expression or code to evaluate in the page context |
browser_click_text
Click an element by its visible text content. Works on React dropdowns, portals, and overlays that may not appear in snapshots. CSP-safe (no eval). Prefers deepest matching element.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to match against element content (first line) |
exact | boolean | Require exact match instead of substring (default false) |
index | number | Which match to click if multiple (0-based, default 0) |
browser_handle_dialog
Handle JavaScript dialogs (alert, confirm, prompt). Dialogs block page interaction until handled.
| Parameter | Type | Description |
|---|---|---|
action * | string | Accept or dismiss the dialog |
promptText | string | Text to enter for prompt() dialogs |