browser
Control web pages through Chrome DevTools Protocol using CSS selectors to navigate, click, type, read text, and run scripts for AI web automation.
Instructions
Chrome DevTools Protocol control — operates on DOM elements by CSS selector rather than screen pixels. Start with navigate (opens the URL in the agent's own CDP browser, launching it if needed) or connect (attach to a browser already on the debug port), then page_context/click/type on that page. Much more reliable than computer for web automation. Pick an action: navigate, connect, page_context, read_text, click, type, select_option, evaluate, wait_for, list_tabs, switch_tab, scroll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to | |
| text | No | Visible text of the element to click (preferred). | |
| label | No | Label text associated with the input (alternative to selector). | |
| value | No | Option value or visible text to select | |
| action | Yes | Which sub-action to perform. See this tool's description for the enum of valid values. | |
| amount | No | Pixels to scroll (default: 500) | |
| target | No | URL or title substring to match | |
| timeout | No | Timeout in milliseconds (default: 10000) | |
| selector | No | Optional CSS selector to read text from (default: structured interactive-element list for the whole page). | |
| direction | No | Scroll direction | |
| maxLength | No | Max characters to return (default: 3000) | |
| javascript | No | JavaScript code to evaluate in the page |