Clicking Not Working as Expected.
Fresh install (I am new to this) on MAC M1 using Chrome and Cursor.
Seems like clicking is a problem for the tool, LLM saying its experiencing persistent timeout (30 seconds) issues.
Tried multiple sites, all behaving the same. When trying the default command:
"Go to google.com and search for "Browser MCP""
It fails to click and search, and ends up searching using url browsing (browser_navigate).
Other tools seems to be working just fine, get_cosole_logs and screenshot for example is working, I even see the cursor move on screen, but its not clicking..
I have a very similar situation ... Mac, Chrome, Cursor... navigate is working.... clicking inputs / buttons and typing seems not... Google search is not submitting, and in my local project I cannot cause it to log in (submit the log in form). It does seem able to click links after I manually log in.
High-profile public websites use sophisticated methods to protect themselves against browser automation.
For example, see Fractual Security and further explanation of it here.
Of course, it could also be a bug :-)
@virtualian That makes sense yes. But I am experiencing this on a very basic site I build myself. Just putting it here for visibility.
Same... the problem is occuring in a simple local development site built on NextJS.
I confess I had a problem with my React.js + Next.js site too, so I wrote it up here: https://github.com/BrowserMCP/mcp/issues/101
I have the same issue. Here's how I test browser_click in Claude code.
> please test browser_click tool, I think it have bug
⏺ I'll test the browser_click tool for you. Let me navigate to a page and test clicking functionality.
⏺ browser - browser_navigate (MCP)(url: "https://example.com")
⎿
- Page URL: https://example.com/
- Page Title: Example Domain
… +11 lines (ctrl+r to expand)
⏺ Now let me test the browser_click tool by clicking on the "More information..." link:
⏺ browser - browser_click (MCP)(element: "More information... link", ref: "s1e11")
⎿ Error: WebSocket response timeout after 30000ms
⏺ The browser_click tool appears to have a timeout issue. Let me try a simpler test on a different page:
⏺ browser - browser_navigate (MCP)(url: "https://google.com")
⎿
- Page URL: https://www.google.com/
- Page Title: Google
… +47 lines (ctrl+r to expand)
⏺ Let me try clicking on a simpler element, like the "About" link:
⏺ browser - browser_click (MCP)(element: "About link", ref: "s1e87")
⎿ Error: WebSocket response timeout after 30000ms
⏺ The browser_click tool appears to have a consistent timeout issue. Let me try to capture a screenshot
to see if the browser is responsive:
⎿ [Image]
⏺ The browser is working and responsive. Let me try clicking on a smaller element to test the click
functionality:
⏺ browser - browser_click (MCP)(element: "Google apps button", ref: "s1e22")
⎿ Error: The page keeping the extension port is moved into back/forward cache, so the message channel is
closed.
⏺ There appears to be a browser extension issue. Let me try navigating to a simpler page and testing
again:
⏺ browser - browser_navigate (MCP)(url: "https://httpbin.org/html")
⎿
- Page URL: https://httpbin.org/html
- Page Title: httpbin.org/html
… +42 lines (ctrl+r to expand)
⏺ Let me try clicking on the heading element:
⏺ browser - browser_click (MCP)(element: "Herman Melville - Moby-Dick heading", ref: "s1e7")
⎿ Error: WebSocket response timeout after 30000ms
⏺ I've confirmed there is indeed a bug with the browser_click tool. It consistently times out after 30
seconds when attempting to click on elements. The browser navigation and screenshot functionality work
fine, but the click action fails.
The error messages suggest either:
1. WebSocket connection issues
2. Browser extension port problems
3. Element interaction timing out
You're right - the browser_click tool appears to have a bug that prevents it from functioning properly.
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
? for shortcuts
Had the same issue. Try using Chrome Canary instead of Chrome. Works for me!
Has anyone found a solution to this please?
The Browser MCP is returning consistent "WebSocket response timeout after 30000ms" and "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received" errors when attempting to interact with any form elements (clicking buttons or typing in text fields).