Skip to content

Commit aa495b8

Browse files
committed
Merge 2 and 3
1 parent 7698b89 commit aa495b8

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

README.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -356,26 +356,6 @@ Add the `--browser-url` option to your MCP client configuration. The value of th
356356

357357
Start the Chrome browser with the remote debugging port enabled. Make sure to close any running Chrome instances before starting a new one with the debugging port enabled.
358358

359-
**macOS**
360-
361-
```bash
362-
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
363-
```
364-
365-
**Linux**
366-
367-
```bash
368-
/usr/bin/google-chrome --remote-debugging-port=9222
369-
```
370-
371-
**Windows**
372-
373-
```bash
374-
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
375-
```
376-
377-
**Step 3: Use a non-default user data directory**
378-
379359
For security reasons, Chrome requires you to use a non-default user data directory when enabling the remote debugging port. You can specify a custom directory using the `--user-data-dir` flag. This ensures that your regular browsing profile and data are not exposed to the debugging session.
380360

381361
**macOS**
@@ -399,7 +379,7 @@ For security reasons, Chrome requires you to use a non-default user data directo
399379
> [!WARNING]
400380
> Enabling the remote debugging port opens up a debugging port on the running browser instance. Any application on your machine can connect to this port and control the browser. Make sure that you are not browsing any sensitive websites while the debugging port is open.
401381
402-
**Step 4: Ensure the ports are the same**
382+
**Step 3: Ensure the ports are the same**
403383

404384
The port number in the `--browser-url` option in your MCP client configuration must be the same as the port number you used to start the Chrome browser.
405385

0 commit comments

Comments
 (0)