@raultov/browser-control-mcp 0.3.4-beta.4 → 0.3.5-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/README.md +12 -7
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,52 @@ from a copy of its code: entries describe the differences from that release.
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [0.3.5-beta.5] - 2026-10-28
|
|
14
|
+
|
|
15
|
+
Public **BETA**. Observation tools stop returning wrong or missing data
|
|
16
|
+
without saying so, an endless `evaluate_js` loop no longer kills a Chrome
|
|
17
|
+
tab, Firefox debugger calls no longer block other tabs, and WebMCP passes
|
|
18
|
+
every tool annotation through. Some replies change: `get_custom_events`
|
|
19
|
+
answers `{events, total, truncated}` with the newest events, and
|
|
20
|
+
`get_network_logs` requests may carry `error` and
|
|
21
|
+
`response_body_encoding`.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- `webmcp_list_tools` drops no annotation: `consequential` (the page
|
|
26
|
+
declares the tool has real-world effects, such as a payment) and
|
|
27
|
+
`debugging` were silently lost, and any annotation a later Chrome adds is
|
|
28
|
+
now passed through. The output of a tool annotated `untrustedContent` is
|
|
29
|
+
flagged: `webmcp_invoke_tool` adds a note to treat it as data, not as
|
|
30
|
+
instructions, and `webmcp_get_invocation` says `untrustedContent: true`.
|
|
31
|
+
- `evaluate_js` with an endless loop no longer kills the tab on Chrome:
|
|
32
|
+
the script is stopped after 8 s and the call says so ("the script ran for
|
|
33
|
+
more than 8 s ... the page keeps working"); later calls work at once. It
|
|
34
|
+
used to fail after 20 s with `Runtime.evaluate timed out`, and every
|
|
35
|
+
later call on the tab timed out too. An expression waiting on a promise
|
|
36
|
+
that never settles says so after 10 s. Firefox cannot stop a running
|
|
37
|
+
script from outside: its error says so and points to `close_tab`.
|
|
38
|
+
- On Firefox, a slow debugger call on one tab (e.g. a long
|
|
39
|
+
`evaluate_on_call_frame`) no longer blocks the logs and debugger tools of
|
|
40
|
+
the other tabs: each tab's debugger has its own lock (one lock covered
|
|
41
|
+
them all, delaying `get_console_logs` on another tab by 9.5 s).
|
|
42
|
+
- `get_custom_events` returns the newest `limit` events (it returned the
|
|
43
|
+
oldest, so new events never showed once the buffer held more), answers
|
|
44
|
+
pure JSON `{"events", "total", "truncated"}` (the text started with
|
|
45
|
+
`Found N custom events.`), and takes `clear` to remove what it returned.
|
|
46
|
+
- `get_network_logs`: on Chrome the page's own document is in its
|
|
47
|
+
navigation's bucket, so `current_navigation_only` lists it and its body
|
|
48
|
+
is returned (it was left in the previous navigation, without a body). A
|
|
49
|
+
failed request carries `error` (Chrome `net::ERR_...`, Firefox
|
|
50
|
+
`NS_ERROR_...`, also in the summary); it looked like one still waiting on
|
|
51
|
+
Chrome, and Firefox put the error in `response_status_text`. A binary body
|
|
52
|
+
says `response_body_encoding: "base64"`.
|
|
53
|
+
- On Chrome, `get_console_logs` and `get_network_logs` connect first: on an
|
|
54
|
+
instance nothing had connected to (an attached Chrome) they answered
|
|
55
|
+
empty buffers. The console messages the page logged before are now
|
|
56
|
+
returned; `get_network_logs` notes that earlier requests are not
|
|
57
|
+
captured.
|
|
58
|
+
|
|
13
59
|
## [0.3.4-beta.4] - 2026-10-27
|
|
14
60
|
|
|
15
61
|
Public **BETA**. The same server as 0.3.3-beta.4, which was published on
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ It is the successor of
|
|
|
11
11
|
from a copy of its code) and complements Playwright MCP or
|
|
12
12
|
chrome-devtools-mcp with runtime JavaScript debugging on both browsers.
|
|
13
13
|
|
|
14
|
-
> **Status: BETA (0.3.
|
|
14
|
+
> **Status: BETA (0.3.5-beta.5).** This version contains known bugs and differences
|
|
15
15
|
> between Chrome and Firefox (see [Limitations and TODO](#limitations-and-todo))
|
|
16
16
|
> and parts that have not been verified (see [Untested](#untested)). Tool
|
|
17
17
|
> replies may change in incompatible ways before 1.0. Please report problems
|
|
@@ -54,10 +54,10 @@ see the note.
|
|
|
54
54
|
| `click_element` | ✓ | ✓ | scrolls the element into view; fails without clicking when it is hidden or covered |
|
|
55
55
|
| `fill_input` | ✓ | ✓ | picks `<select>` options; fails without typing on elements that cannot take the text; Chrome inserts the text, Firefox types keys |
|
|
56
56
|
| `handle_dialog` | ✓ | ✓ | accepts or dismisses the open `alert` / `confirm` / `prompt` / `beforeunload` dialog |
|
|
57
|
-
| `evaluate_js` | ✓ | ✓ | `value` at most 100 000 characters (`truncated: true`) |
|
|
57
|
+
| `evaluate_js` | ✓ | ✓ | `value` at most 100 000 characters (`truncated: true`); Chrome stops a script after 8 s, Firefox cannot (a looping tab is closed with `close_tab`) |
|
|
58
58
|
| `get_console_logs` | ✓ | ✓ | a message keeps at most 10 000 characters; Firefox: page errors, CSS warnings and platform messages need the debugger port |
|
|
59
|
-
| `get_network_logs` | ✓ | ✓ | bodies at most 64 000 characters, none over 2 MB; a WebSocket payload keeps 64 000 (`payload_len` is the whole); Firefox: WebSocket frames need the debugger port |
|
|
60
|
-
| `get_custom_events` | ✓ | partial | params over 64 000 characters of JSON are replaced by `{truncated, characters}`; Firefox: events of the modules subscribed with `send_bidi_command` |
|
|
59
|
+
| `get_network_logs` | ✓ | ✓ | a failed request has `error`, a binary body `response_body_encoding: "base64"`; bodies at most 64 000 characters, none over 2 MB; a WebSocket payload keeps 64 000 (`payload_len` is the whole); Firefox: WebSocket frames need the debugger port |
|
|
60
|
+
| `get_custom_events` | ✓ | partial | `{events, total, truncated}`, the newest `limit` events; `clear` removes the returned ones; params over 64 000 characters of JSON are replaced by `{truncated, characters}`; Firefox: events of the modules subscribed with `send_bidi_command` |
|
|
61
61
|
| `get_performance_metrics` | ✓ | partial | Firefox: `Nodes`, `Frames`, `Resources`, `TransferSize` from the Web Performance APIs (no Performance domain), plus a note |
|
|
62
62
|
| `profile_page_performance` | ✓ | partial | Firefox: FCP, LCP, DCL and Load from the Web Performance APIs; no trace, so `total_blocking_time_ms` and `top_long_tasks` are `null` |
|
|
63
63
|
| `set_breakpoint` | ✓ | partial | Firefox: by URL only (no `script_id` / `script_hash`) |
|
|
@@ -71,8 +71,8 @@ see the note.
|
|
|
71
71
|
| `send_cdp_command` | ✓ | ✗ | raw Chrome DevTools Protocol |
|
|
72
72
|
| `send_bidi_command` | ✗ | ✓ | raw WebDriver BiDi; refuses `session.new`, `session.end`, `browser.close` |
|
|
73
73
|
| `send_rdp_request` | ✗ | ✓ | raw Firefox RDP request to an actor (`thread`, `console`, `root` shortcuts) |
|
|
74
|
-
| `webmcp_list_tools` | ✓ | ✗ | needs `--enable-webmcp`; WebMCP is a Chrome testing feature |
|
|
75
|
-
| `webmcp_invoke_tool` | ✓ | ✗ | needs `--enable-webmcp` |
|
|
74
|
+
| `webmcp_list_tools` | ✓ | ✗ | needs `--enable-webmcp`; WebMCP is a Chrome testing feature; every annotation Chrome reports is listed (`readOnly`, `consequential`, `untrustedContent`, `debugging`, `autosubmit`, newer ones as they are) |
|
|
75
|
+
| `webmcp_invoke_tool` | ✓ | ✗ | needs `--enable-webmcp`; the output of an `untrustedContent` tool comes with a note to treat it as data |
|
|
76
76
|
| `webmcp_get_invocation` | ✓ | ✗ | needs `--enable-webmcp` |
|
|
77
77
|
| `webmcp_list_invocations` | ✓ | ✗ | needs `--enable-webmcp` |
|
|
78
78
|
|
|
@@ -310,7 +310,11 @@ claude mcp add browser-control-mcp -- npx -y @raultov/browser-control-mcp
|
|
|
310
310
|
`{"messages": [...], "total", "truncated", "notes"?}`: at most `limit`
|
|
311
311
|
(default 200) of the most recent matching messages, oldest first; `clear`
|
|
312
312
|
removes only the returned ones; a note says when a site change cleared
|
|
313
|
-
messages.
|
|
313
|
+
messages. `get_custom_events` answers `{"events", "total", "truncated"}`
|
|
314
|
+
the same way. On Chrome both log tools connect first, so on an attached
|
|
315
|
+
browser the first call already sees the page's console messages (Chrome
|
|
316
|
+
replays them; network requests sent before the connection are not
|
|
317
|
+
captured, and the reply says so).
|
|
314
318
|
- **Firefox allows a single automation session.** Each Firefox instance holds
|
|
315
319
|
one WebDriver BiDi session shared by its tabs; `close_instance`,
|
|
316
320
|
`stop_browser` and every server shutdown path end it, so the next run can
|
|
@@ -441,6 +445,7 @@ incompatible:
|
|
|
441
445
|
| `remove_breakpoint` | Chrome: CDP id, reply `{}` | `bp-N` id, reply `{removed}` |
|
|
442
446
|
| `step_over`, `resume` | Chrome: text only; Firefox `step_over`: `{paused, location: {line (1-based), column}}` | `{paused, location: {url, line_number, column_number} \| null}`, 0-based |
|
|
443
447
|
| `evaluate_on_call_frame` | Chrome: raw `RemoteObject` (exceptions as success); Firefox: bare value | the `evaluate_js` shape; exceptions are errors (`Evaluation threw: ...`) |
|
|
448
|
+
| `get_custom_events` | `Found N custom events. Captured events: [...]`, the oldest events | `{events, total, truncated}`, the newest `limit` events; `clear` removes the returned ones |
|
|
444
449
|
| `get_console_logs` | a JSON array; `clear` emptied the whole buffer | `{messages, total, truncated, notes?}`, at most `limit` (200) messages; `clear` removes the returned ones; the buffer is cleared on cross-site navigation |
|
|
445
450
|
|
|
446
451
|
## Limitations and TODO
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "@raultov/browser-control-mcp",
|
|
22
|
-
"version": "0.3.
|
|
22
|
+
"version": "0.3.5-beta.5"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.3.
|
|
51
|
+
"version": "0.3.5-beta.5"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/raultov/browser-control-mcp/releases/download/v0.3.
|
|
3
|
+
"https://github.com/raultov/browser-control-mcp/releases/download/v0.3.5-beta.5"
|
|
4
4
|
],
|
|
5
5
|
"author": "raultov <raultov@protonmail.com>",
|
|
6
6
|
"bin": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"zipExt": ".tar.xz"
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
-
"version": "0.3.
|
|
95
|
+
"version": "0.3.5-beta.5",
|
|
96
96
|
"volta": {
|
|
97
97
|
"node": "18.14.1",
|
|
98
98
|
"npm": "9.5.0"
|