Connect to Chrome Browser
browser_connectConnect to a Chrome browser to access its accessibility tree for generating test selectors, performing audits, and reading element roles as a screen reader would.
Instructions
Connect to a running Chrome browser via the Chrome DevTools Protocol (CDP). Chrome must be started with --remote-debugging-port=9222. Command: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug-profile
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debugUrl | No | Chrome remote debugging URL. Default: http://localhost:9222. Start Chrome with --remote-debugging-port=9222. | http://localhost:9222 |