Skip to content

Update README.md#81

Closed
karolklp wants to merge 1 commit intoChromeDevTools:mainfrom
karolklp:patch-1
Closed

Update README.md#81
karolklp wants to merge 1 commit intoChromeDevTools:mainfrom
karolklp:patch-1

Conversation

@karolklp
Copy link
Copy Markdown

Hi 👋

When I first tried setting up chrome-devtools-mcp, I was confused because nothing seemed to happen after running the MCP server. I expected a Chrome window to open automatically, but actually you need to ask your agent to open a new browser window.

This PR adds a short note in the README to clarify this behavior.

docs: clarify that users must ask agent to open a new browser window
@OrKoN OrKoN requested a review from sebastianbenz September 23, 2025 17:19
@sebastianbenz
Copy link
Copy Markdown
Collaborator

Thanks for flagging this! This should happen automatically indeed. Have you got a sample prompt where this didn't work?

@karolklp
Copy link
Copy Markdown
Author

Claude Code

> /mcp 
  ⎿  Reconnected to chrome-devtools.

> can you connect with chrome devtools

⏺ I'll check what Chrome DevTools capabilities are available.
  ⎿  # list_pages response    
     ## Pages
     0: about:blank [selected]

⏺ Yes, I can interact with Chrome DevTools. The MCP Chrome DevTools server is connected and provides these capabilities:

  Page Navigation & Management:
  - Navigate to URLs
  - List/select/close pages
  - Navigate page history
  - Take snapshots and screenshots

  Interaction:
  - Click, drag, hover elements
  - Fill forms and inputs
  - Upload files
  - Handle dialogs

  Monitoring:
  - List console messages
  - Track network requests
  - Performance tracing

  Testing:
  - Emulate CPU throttling
  - Emulate network conditions
  - Execute JavaScript

  Currently there's one blank page open. Would you like me to navigate somewhere or perform any specific browser automation task?

so only after asking question it opened.

@sebastianbenz
Copy link
Copy Markdown
Collaborator

Ah OK, so that's actually working as intended. The browser will open automatically if you use one of the existing tools. For example: list console messages on https://example.com will automatically open the browser.

@karolklp
Copy link
Copy Markdown
Author

OK! So that short info in readme makes sense, since it's not obvious. Some MCPs like Serena are opening new browser tab on startup.

@sebastianbenz
Copy link
Copy Markdown
Collaborator

sebastianbenz commented Sep 23, 2025

You're absolutely right! I've created a PR to update the README to make this more clear (technically the browser is started automatically, but at a different point in time): #89

Does that address your problem?

@sebastianbenz
Copy link
Copy Markdown
Collaborator

Closing in favor of #89

Thanks for adding this @karolklp !

@karolklp
Copy link
Copy Markdown
Author

great, thx, @sebastianbenz!

@karolklp karolklp deleted the patch-1 branch September 24, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants