claude-chrome-parallel 3.0.4 → 3.4.1
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/LICENSE +21 -21
- package/README.md +464 -367
- package/assets/demo.svg +278 -169
- package/dist/cdp/client.d.ts +60 -2
- package/dist/cdp/client.d.ts.map +1 -1
- package/dist/cdp/client.js +344 -5
- package/dist/cdp/client.js.map +1 -1
- package/dist/cdp/connection-pool.d.ts.map +1 -1
- package/dist/cdp/connection-pool.js +20 -4
- package/dist/cdp/connection-pool.js.map +1 -1
- package/dist/chrome/launcher.d.ts +11 -0
- package/dist/chrome/launcher.d.ts.map +1 -1
- package/dist/chrome/launcher.js +124 -10
- package/dist/chrome/launcher.js.map +1 -1
- package/dist/chrome/pool.d.ts +54 -0
- package/dist/chrome/pool.d.ts.map +1 -0
- package/dist/chrome/pool.js +301 -0
- package/dist/chrome/pool.js.map +1 -0
- package/dist/chrome/profile-detector.d.ts +52 -0
- package/dist/chrome/profile-detector.d.ts.map +1 -0
- package/dist/chrome/profile-detector.js +246 -0
- package/dist/chrome/profile-detector.js.map +1 -0
- package/dist/cli/claude-session.js +15 -15
- package/dist/cli/index.js +162 -37
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/update-check.d.ts +9 -0
- package/dist/cli/update-check.js +141 -0
- package/dist/cli/update-check.js.map +1 -0
- package/dist/config/global.d.ts +31 -0
- package/dist/config/global.d.ts.map +1 -1
- package/dist/config/global.js.map +1 -1
- package/dist/dashboard/activity-tracker.d.ts +60 -0
- package/dist/dashboard/activity-tracker.d.ts.map +1 -0
- package/dist/dashboard/activity-tracker.js +178 -0
- package/dist/dashboard/activity-tracker.js.map +1 -0
- package/dist/dashboard/ansi.d.ts +117 -0
- package/dist/dashboard/ansi.d.ts.map +1 -0
- package/dist/dashboard/ansi.js +199 -0
- package/dist/dashboard/ansi.js.map +1 -0
- package/dist/dashboard/index.d.ts +110 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +412 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/keyboard-handler.d.ts +43 -0
- package/dist/dashboard/keyboard-handler.d.ts.map +1 -0
- package/dist/dashboard/keyboard-handler.js +215 -0
- package/dist/dashboard/keyboard-handler.js.map +1 -0
- package/dist/dashboard/operation-controller.d.ts +76 -0
- package/dist/dashboard/operation-controller.d.ts.map +1 -0
- package/dist/dashboard/operation-controller.js +167 -0
- package/dist/dashboard/operation-controller.js.map +1 -0
- package/dist/dashboard/renderer.d.ts +76 -0
- package/dist/dashboard/renderer.d.ts.map +1 -0
- package/dist/dashboard/renderer.js +193 -0
- package/dist/dashboard/renderer.js.map +1 -0
- package/dist/dashboard/types.d.ts +56 -0
- package/dist/dashboard/types.d.ts.map +1 -0
- package/dist/dashboard/types.js +12 -0
- package/dist/dashboard/types.js.map +1 -0
- package/dist/dashboard/views/main-view.d.ts +23 -0
- package/dist/dashboard/views/main-view.d.ts.map +1 -0
- package/dist/dashboard/views/main-view.js +143 -0
- package/dist/dashboard/views/main-view.js.map +1 -0
- package/dist/dashboard/views/sessions-view.d.ts +22 -0
- package/dist/dashboard/views/sessions-view.d.ts.map +1 -0
- package/dist/dashboard/views/sessions-view.js +104 -0
- package/dist/dashboard/views/sessions-view.js.map +1 -0
- package/dist/dashboard/views/tabs-view.d.ts +21 -0
- package/dist/dashboard/views/tabs-view.d.ts.map +1 -0
- package/dist/dashboard/views/tabs-view.js +92 -0
- package/dist/dashboard/views/tabs-view.js.map +1 -0
- package/dist/hints/hint-engine.d.ts +65 -0
- package/dist/hints/hint-engine.d.ts.map +1 -0
- package/dist/hints/hint-engine.js +156 -0
- package/dist/hints/hint-engine.js.map +1 -0
- package/dist/hints/index.d.ts +8 -0
- package/dist/hints/index.d.ts.map +1 -0
- package/dist/hints/index.js +11 -0
- package/dist/hints/index.js.map +1 -0
- package/dist/hints/pattern-learner.d.ts +76 -0
- package/dist/hints/pattern-learner.d.ts.map +1 -0
- package/dist/hints/pattern-learner.js +254 -0
- package/dist/hints/pattern-learner.js.map +1 -0
- package/dist/hints/rules/composite-suggestions.d.ts +6 -0
- package/dist/hints/rules/composite-suggestions.d.ts.map +1 -0
- package/dist/hints/rules/composite-suggestions.js +66 -0
- package/dist/hints/rules/composite-suggestions.js.map +1 -0
- package/dist/hints/rules/error-recovery.d.ts +7 -0
- package/dist/hints/rules/error-recovery.d.ts.map +1 -0
- package/dist/hints/rules/error-recovery.js +51 -0
- package/dist/hints/rules/error-recovery.js.map +1 -0
- package/dist/hints/rules/learned-rules.d.ts +13 -0
- package/dist/hints/rules/learned-rules.d.ts.map +1 -0
- package/dist/hints/rules/learned-rules.js +27 -0
- package/dist/hints/rules/learned-rules.js.map +1 -0
- package/dist/hints/rules/repetition-detection.d.ts +7 -0
- package/dist/hints/rules/repetition-detection.d.ts.map +1 -0
- package/dist/hints/rules/repetition-detection.js +82 -0
- package/dist/hints/rules/repetition-detection.js.map +1 -0
- package/dist/hints/rules/sequence-detection.d.ts +6 -0
- package/dist/hints/rules/sequence-detection.d.ts.map +1 -0
- package/dist/hints/rules/sequence-detection.js +89 -0
- package/dist/hints/rules/sequence-detection.js.map +1 -0
- package/dist/hints/rules/success-hints.d.ts +6 -0
- package/dist/hints/rules/success-hints.d.ts.map +1 -0
- package/dist/hints/rules/success-hints.js +62 -0
- package/dist/hints/rules/success-hints.js.map +1 -0
- package/dist/index.js +190 -55
- package/dist/index.js.map +1 -1
- package/dist/lightpanda/launcher.d.ts +58 -0
- package/dist/lightpanda/launcher.d.ts.map +1 -0
- package/dist/lightpanda/launcher.js +199 -0
- package/dist/lightpanda/launcher.js.map +1 -0
- package/dist/mcp-server.d.ts +38 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +220 -6
- package/dist/mcp-server.js.map +1 -1
- package/dist/orchestration/state-manager.js +46 -46
- package/dist/orchestration/workflow-engine.d.ts +1 -0
- package/dist/orchestration/workflow-engine.d.ts.map +1 -1
- package/dist/orchestration/workflow-engine.js +112 -114
- package/dist/orchestration/workflow-engine.js.map +1 -1
- package/dist/resources/usage-guide.d.ts +13 -0
- package/dist/resources/usage-guide.d.ts.map +1 -0
- package/dist/resources/usage-guide.js +101 -0
- package/dist/resources/usage-guide.js.map +1 -0
- package/dist/router/browser-router.d.ts +51 -0
- package/dist/router/browser-router.d.ts.map +1 -0
- package/dist/router/browser-router.js +178 -0
- package/dist/router/browser-router.js.map +1 -0
- package/dist/router/cookie-sync.d.ts +48 -0
- package/dist/router/cookie-sync.d.ts.map +1 -0
- package/dist/router/cookie-sync.js +106 -0
- package/dist/router/cookie-sync.js.map +1 -0
- package/dist/router/index.d.ts +5 -0
- package/dist/router/index.d.ts.map +1 -0
- package/dist/router/index.js +10 -0
- package/dist/router/index.js.map +1 -0
- package/dist/router/tool-routing-registry.d.ts +21 -0
- package/dist/router/tool-routing-registry.d.ts.map +1 -0
- package/dist/router/tool-routing-registry.js +90 -0
- package/dist/router/tool-routing-registry.js.map +1 -0
- package/dist/session-manager.d.ts +41 -1
- package/dist/session-manager.d.ts.map +1 -1
- package/dist/session-manager.js +216 -21
- package/dist/session-manager.js.map +1 -1
- package/dist/tools/click-element.d.ts +8 -0
- package/dist/tools/click-element.d.ts.map +1 -0
- package/dist/tools/click-element.js +406 -0
- package/dist/tools/click-element.js.map +1 -0
- package/dist/tools/computer.d.ts.map +1 -1
- package/dist/tools/computer.js +202 -38
- package/dist/tools/computer.js.map +1 -1
- package/dist/tools/console-capture.d.ts +6 -0
- package/dist/tools/console-capture.d.ts.map +1 -0
- package/dist/tools/console-capture.js +320 -0
- package/dist/tools/console-capture.js.map +1 -0
- package/dist/tools/cookies.d.ts +6 -0
- package/dist/tools/cookies.d.ts.map +1 -0
- package/dist/tools/cookies.js +263 -0
- package/dist/tools/cookies.js.map +1 -0
- package/dist/tools/drag-drop.d.ts +6 -0
- package/dist/tools/drag-drop.d.ts.map +1 -0
- package/dist/tools/drag-drop.js +252 -0
- package/dist/tools/drag-drop.js.map +1 -0
- package/dist/tools/emulate-device.d.ts +6 -0
- package/dist/tools/emulate-device.d.ts.map +1 -0
- package/dist/tools/emulate-device.js +221 -0
- package/dist/tools/emulate-device.js.map +1 -0
- package/dist/tools/file-upload.d.ts +6 -0
- package/dist/tools/file-upload.d.ts.map +1 -0
- package/dist/tools/file-upload.js +208 -0
- package/dist/tools/file-upload.js.map +1 -0
- package/dist/tools/fill-form.d.ts +8 -0
- package/dist/tools/fill-form.d.ts.map +1 -0
- package/dist/tools/fill-form.js +342 -0
- package/dist/tools/fill-form.js.map +1 -0
- package/dist/tools/find.d.ts.map +1 -1
- package/dist/tools/find.js +153 -65
- package/dist/tools/find.js.map +1 -1
- package/dist/tools/form-input.js +52 -52
- package/dist/tools/form-input.js.map +1 -1
- package/dist/tools/geolocation.d.ts +6 -0
- package/dist/tools/geolocation.d.ts.map +1 -0
- package/dist/tools/geolocation.js +172 -0
- package/dist/tools/geolocation.js.map +1 -0
- package/dist/tools/http-auth.d.ts +6 -0
- package/dist/tools/http-auth.d.ts.map +1 -0
- package/dist/tools/http-auth.js +136 -0
- package/dist/tools/http-auth.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +50 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/javascript.d.ts.map +1 -1
- package/dist/tools/javascript.js +7 -3
- package/dist/tools/javascript.js.map +1 -1
- package/dist/tools/navigate.d.ts.map +1 -1
- package/dist/tools/navigate.js +5 -2
- package/dist/tools/navigate.js.map +1 -1
- package/dist/tools/network.js +4 -4
- package/dist/tools/network.js.map +1 -1
- package/dist/tools/orchestration.d.ts.map +1 -1
- package/dist/tools/orchestration.js +64 -8
- package/dist/tools/orchestration.js.map +1 -1
- package/dist/tools/page-content.d.ts +6 -0
- package/dist/tools/page-content.d.ts.map +1 -0
- package/dist/tools/page-content.js +120 -0
- package/dist/tools/page-content.js.map +1 -0
- package/dist/tools/page-pdf.d.ts +6 -0
- package/dist/tools/page-pdf.d.ts.map +1 -0
- package/dist/tools/page-pdf.js +245 -0
- package/dist/tools/page-pdf.js.map +1 -0
- package/dist/tools/page-reload.d.ts +6 -0
- package/dist/tools/page-reload.d.ts.map +1 -0
- package/dist/tools/page-reload.js +89 -0
- package/dist/tools/page-reload.js.map +1 -0
- package/dist/tools/performance-metrics.d.ts +6 -0
- package/dist/tools/performance-metrics.d.ts.map +1 -0
- package/dist/tools/performance-metrics.js +158 -0
- package/dist/tools/performance-metrics.js.map +1 -0
- package/dist/tools/read-page.d.ts.map +1 -1
- package/dist/tools/read-page.js +4 -2
- package/dist/tools/read-page.js.map +1 -1
- package/dist/tools/request-intercept.d.ts +6 -0
- package/dist/tools/request-intercept.d.ts.map +1 -0
- package/dist/tools/request-intercept.js +439 -0
- package/dist/tools/request-intercept.js.map +1 -0
- package/dist/tools/selector-query.d.ts +6 -0
- package/dist/tools/selector-query.d.ts.map +1 -0
- package/dist/tools/selector-query.js +206 -0
- package/dist/tools/selector-query.js.map +1 -0
- package/dist/tools/storage.d.ts +6 -0
- package/dist/tools/storage.d.ts.map +1 -0
- package/dist/tools/storage.js +264 -0
- package/dist/tools/storage.js.map +1 -0
- package/dist/tools/tabs-close.d.ts +6 -0
- package/dist/tools/tabs-close.d.ts.map +1 -0
- package/dist/tools/tabs-close.js +124 -0
- package/dist/tools/tabs-close.js.map +1 -0
- package/dist/tools/tabs-context.js +1 -1
- package/dist/tools/tabs-context.js.map +1 -1
- package/dist/tools/user-agent.d.ts +6 -0
- package/dist/tools/user-agent.d.ts.map +1 -0
- package/dist/tools/user-agent.js +128 -0
- package/dist/tools/user-agent.js.map +1 -0
- package/dist/tools/wait-and-click.d.ts +8 -0
- package/dist/tools/wait-and-click.d.ts.map +1 -0
- package/dist/tools/wait-and-click.js +290 -0
- package/dist/tools/wait-and-click.js.map +1 -0
- package/dist/tools/wait-for.d.ts +6 -0
- package/dist/tools/wait-for.d.ts.map +1 -0
- package/dist/tools/wait-for.js +248 -0
- package/dist/tools/wait-for.js.map +1 -0
- package/dist/tools/xpath-query.d.ts +6 -0
- package/dist/tools/xpath-query.d.ts.map +1 -0
- package/dist/tools/xpath-query.js +230 -0
- package/dist/tools/xpath-query.js.map +1 -0
- package/dist/types/browser-backend.d.ts +30 -0
- package/dist/types/browser-backend.d.ts.map +1 -0
- package/dist/types/browser-backend.js +9 -0
- package/dist/types/browser-backend.js.map +1 -0
- package/dist/types/profile.d.ts +76 -0
- package/dist/types/profile.d.ts.map +1 -0
- package/dist/types/profile.js +35 -0
- package/dist/types/profile.js.map +1 -0
- package/dist/types/session.d.ts +7 -3
- package/dist/types/session.d.ts.map +1 -1
- package/package.json +78 -75
- package/dist/master/index.d.ts +0 -18
- package/dist/master/index.d.ts.map +0 -1
- package/dist/master/index.js +0 -75
- package/dist/master/index.js.map +0 -1
- package/dist/master/ipc-server.d.ts +0 -21
- package/dist/master/ipc-server.d.ts.map +0 -1
- package/dist/master/ipc-server.js +0 -175
- package/dist/master/ipc-server.js.map +0 -1
- package/dist/master/request-handler.d.ts +0 -17
- package/dist/master/request-handler.d.ts.map +0 -1
- package/dist/master/request-handler.js +0 -134
- package/dist/master/request-handler.js.map +0 -1
- package/dist/master/session-registry.d.ts +0 -120
- package/dist/master/session-registry.d.ts.map +0 -1
- package/dist/master/session-registry.js +0 -247
- package/dist/master/session-registry.js.map +0 -1
- package/dist/shared/ipc-constants.d.ts +0 -16
- package/dist/shared/ipc-constants.d.ts.map +0 -1
- package/dist/shared/ipc-constants.js +0 -66
- package/dist/shared/ipc-constants.js.map +0 -1
- package/dist/shared/ipc-protocol.d.ts +0 -33
- package/dist/shared/ipc-protocol.d.ts.map +0 -1
- package/dist/shared/ipc-protocol.js +0 -20
- package/dist/shared/ipc-protocol.js.map +0 -1
- package/dist/worker/auto-master.d.ts +0 -24
- package/dist/worker/auto-master.d.ts.map +0 -1
- package/dist/worker/auto-master.js +0 -135
- package/dist/worker/auto-master.js.map +0 -1
- package/dist/worker/index.d.ts +0 -25
- package/dist/worker/index.d.ts.map +0 -1
- package/dist/worker/index.js +0 -93
- package/dist/worker/index.js.map +0 -1
- package/dist/worker/ipc-client.d.ts +0 -26
- package/dist/worker/ipc-client.d.ts.map +0 -1
- package/dist/worker/ipc-client.js +0 -211
- package/dist/worker/ipc-client.js.map +0 -1
- package/dist/worker/remote-session-manager.d.ts +0 -114
- package/dist/worker/remote-session-manager.d.ts.map +0 -1
- package/dist/worker/remote-session-manager.js +0 -151
- package/dist/worker/remote-session-manager.js.map +0 -1
- package/dist/worker/tools.d.ts +0 -7
- package/dist/worker/tools.d.ts.map +0 -1
- package/dist/worker/tools.js +0 -340
- package/dist/worker/tools.js.map +0 -1
- package/dist/worker/worker-mcp-server.d.ts +0 -70
- package/dist/worker/worker-mcp-server.d.ts.map +0 -1
- package/dist/worker/worker-mcp-server.js +0 -295
- package/dist/worker/worker-mcp-server.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,367 +1,464 @@
|
|
|
1
|
-
# Claude Chrome Parallel
|
|
2
|
-
|
|
3
|
-
> **
|
|
4
|
-
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
|
268
|
-
|
|
269
|
-
|
|
|
270
|
-
|
|
|
271
|
-
|
|
|
272
|
-
|
|
|
273
|
-
|
|
|
274
|
-
|
|
|
275
|
-
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
>
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
1
|
+
# Claude Chrome Parallel (CCP)
|
|
2
|
+
|
|
3
|
+
> **Ultrafast parallel browser MCP.**
|
|
4
|
+
|
|
5
|
+
[](https://github.com/shaun0927/claude-chrome-parallel/releases)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
Automate your **actual Chrome** — with all your logins, cookies, and sessions intact. Run **20+ parallel browser sessions** from Claude Code without logging in to anything, ever again.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
"Screenshot my AWS, Stripe, Vercel, GitHub, and Slack dashboards"
|
|
12
|
+
|
|
13
|
+
Playwright MCP (sequential, login each site):
|
|
14
|
+
AWS 🔐━━━━━━━━━━━━━━ login 45s ━━━━ task
|
|
15
|
+
Stripe 🔐━━━━━━━━━━━━━━ login 40s ━━━━ task
|
|
16
|
+
Vercel 🔐━━━━━━━━━━━━━━ login 50s ━━━━ task
|
|
17
|
+
GitHub 🔐━━━━━━━━━━━━ login 35s ━━━━ task
|
|
18
|
+
Slack 🔐━━━━━━━━━━━━ login 40s ━━━━ task
|
|
19
|
+
Total: ~250s | Memory: ~2.5 GB (5 browser instances)
|
|
20
|
+
|
|
21
|
+
CCP (parallel, zero auth):
|
|
22
|
+
AWS ━━━━ 3s ✓
|
|
23
|
+
Stripe ━━━━ 3s ✓
|
|
24
|
+
Vercel ━━━━ 3s ✓
|
|
25
|
+
GitHub ━━━━ 3s ✓
|
|
26
|
+
Slack ━━━━ 3s ✓
|
|
27
|
+
Total: ~3s | Memory: ~300 MB (1 Chrome, shared contexts)
|
|
28
|
+
|
|
29
|
+
80x faster. 8x less memory. Zero logins.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<img src="https://raw.githubusercontent.com/shaun0927/claude-chrome-parallel/main/assets/demo.svg" alt="Playwright MCP vs CCP — 5 authenticated sites comparison" width="100%">
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Why CCP Is Fast
|
|
39
|
+
|
|
40
|
+
This is not a speed optimization. It's a **structural change**.
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
Playwright MCP: [blank browser] → login → task → close (repeat per site)
|
|
44
|
+
CCP: [your Chrome] → task (already logged in)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Playwright creates a new browser per site. Each one needs: navigate → type email → type password → solve 2FA → wait for redirect. That's 30-120s per site, and it's sequential. **You're spending 95% of the time on authentication, not the actual task.**
|
|
48
|
+
|
|
49
|
+
CCP connects to your existing Chrome via CDP. You're already logged in to everything. Workers run in parallel. The speed advantage **compounds** with every site:
|
|
50
|
+
|
|
51
|
+
| Sites | Playwright MCP | CCP | Speedup |
|
|
52
|
+
|:-----:|:--------------:|:---:|:-------:|
|
|
53
|
+
| 1 | ~50s (login + task) | ~3s | **17x** |
|
|
54
|
+
| 3 | ~155s (sequential) | ~3s (parallel) | **50x** |
|
|
55
|
+
| 5 | ~250s | ~3s | **80x** |
|
|
56
|
+
| 10 | ~500s | ~3s | **160x** |
|
|
57
|
+
|
|
58
|
+
### Memory
|
|
59
|
+
|
|
60
|
+
Playwright spawns a **separate browser process** per session (~500MB each). Five sites = 2.5GB.
|
|
61
|
+
|
|
62
|
+
CCP uses **one Chrome** with lightweight browser contexts (like incognito windows sharing the same process). Five Workers = ~300MB total. That's **8x less memory** — and it stays flat whether you run 5 or 20 Workers.
|
|
63
|
+
|
|
64
|
+
### Bot Detection Immunity
|
|
65
|
+
|
|
66
|
+
Playwright runs headless browsers with detectable fingerprints. Cloudflare, reCAPTCHA, and anti-bot systems can flag them.
|
|
67
|
+
|
|
68
|
+
CCP uses **your actual Chrome** — real fingerprint, real cookies, real browsing history. It's indistinguishable from you clicking around manually, because it literally is your browser.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Core Features
|
|
73
|
+
|
|
74
|
+
<table>
|
|
75
|
+
<tr>
|
|
76
|
+
<td width="25%" valign="top">
|
|
77
|
+
|
|
78
|
+
### Zero Auth
|
|
79
|
+
|
|
80
|
+
Your actual Chrome profile. Gmail, Slack, AWS, Stripe — **already logged in**.
|
|
81
|
+
|
|
82
|
+
No credentials. No OAuth. No 2FA loops.
|
|
83
|
+
|
|
84
|
+
</td>
|
|
85
|
+
<td width="25%" valign="top">
|
|
86
|
+
|
|
87
|
+
### 20+ Parallel Workers
|
|
88
|
+
|
|
89
|
+
All Workers run simultaneously in isolated browser contexts.
|
|
90
|
+
|
|
91
|
+
5 sites in ~3s, not ~250s.
|
|
92
|
+
|
|
93
|
+
</td>
|
|
94
|
+
<td width="25%" valign="top">
|
|
95
|
+
|
|
96
|
+
### 8x Less Memory
|
|
97
|
+
|
|
98
|
+
One Chrome process, shared contexts. Not N separate browser instances.
|
|
99
|
+
|
|
100
|
+
5 Workers ≈ 300MB, not 2.5GB.
|
|
101
|
+
|
|
102
|
+
</td>
|
|
103
|
+
<td width="25%" valign="top">
|
|
104
|
+
|
|
105
|
+
### Worker Isolation
|
|
106
|
+
|
|
107
|
+
Each Worker gets separate cookies, localStorage, and sessions.
|
|
108
|
+
|
|
109
|
+
**5 accounts on the same site. Simultaneously.**
|
|
110
|
+
|
|
111
|
+
</td>
|
|
112
|
+
</tr>
|
|
113
|
+
</table>
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Quick Start
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
# One command. That's it.
|
|
121
|
+
npx claude-chrome-parallel setup
|
|
122
|
+
|
|
123
|
+
# Restart Claude Code — just say "ccp".
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**Updates are automatic.** The MCP server runs via `npx`, so you always get the latest version.
|
|
127
|
+
|
|
128
|
+
<details>
|
|
129
|
+
<summary>Manual setup</summary>
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"mcpServers": {
|
|
134
|
+
"chrome-parallel": {
|
|
135
|
+
"command": "npx",
|
|
136
|
+
"args": ["-y", "claude-chrome-parallel", "serve", "--auto-launch"]
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Or: `claude mcp add claude-chrome-parallel -- npx -y claude-chrome-parallel serve --auto-launch`
|
|
143
|
+
|
|
144
|
+
</details>
|
|
145
|
+
|
|
146
|
+
<details>
|
|
147
|
+
<summary>Installation scope</summary>
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
npx claude-chrome-parallel setup # Global — all projects (default)
|
|
151
|
+
npx claude-chrome-parallel setup --scope project # Project — this directory only
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Global writes to `~/.claude.json`. Project writes to `.mcp.json` in the current directory.
|
|
155
|
+
|
|
156
|
+
</details>
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Just Say `ccp`
|
|
161
|
+
|
|
162
|
+
After setup, **`ccp` is your magic word.** No flags, no config, no boilerplate. Just tell Claude what you want with "ccp" and it happens.
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
You: ccp screenshot my Gmail inbox
|
|
166
|
+
Claude: [Already logged in. Screenshot taken. Done.]
|
|
167
|
+
|
|
168
|
+
You: ccp check my AWS billing and Stripe revenue at the same time
|
|
169
|
+
Claude: [2 Workers, parallel, 2.1s — both dashboards captured]
|
|
170
|
+
|
|
171
|
+
You: use ccp to compare iPhone prices on Amazon, eBay, and Walmart
|
|
172
|
+
Claude: [3 Workers, 3 sites, simultaneously]
|
|
173
|
+
Amazon: $999 | eBay: $945 ← lowest | Walmart: $979
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**How it works**: CCP uses the MCP protocol's native `instructions` field to teach Claude the keyword automatically. No CLAUDE.md injection. No hooks. Just install and go.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## What You Can Do
|
|
181
|
+
|
|
182
|
+
### 20-Site Parallel Crawling
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
You: ccp crawl these 20 competitor sites and extract their pricing
|
|
186
|
+
|
|
187
|
+
Claude: [20 Workers, 20 sites, simultaneously — all in your logged-in Chrome]
|
|
188
|
+
site-01: $49/mo ✓ (1.2s)
|
|
189
|
+
site-02: $59/mo ✓ (0.9s)
|
|
190
|
+
...
|
|
191
|
+
site-20: $39/mo ✓ (1.4s)
|
|
192
|
+
Total: 2.8s | Sequential: ~60s | Speedup: 21x
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Each Worker runs in an isolated browser context. One Chrome process, 20 parallel sessions, ~300MB total. Not 20 separate browsers eating 10GB of RAM.
|
|
196
|
+
|
|
197
|
+
### Multi-Cloud Dashboard Monitoring
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
You: ccp screenshot my AWS billing, GCP console, Azure portal, Stripe,
|
|
201
|
+
and Datadog — all at once
|
|
202
|
+
|
|
203
|
+
Claude: [5 Workers — already logged into every cloud provider]
|
|
204
|
+
aws-billing.png $12,847/mo ✓
|
|
205
|
+
gcp-console.png $8,291/mo ✓
|
|
206
|
+
azure-portal.png $3,104/mo ✓
|
|
207
|
+
stripe-revenue.png $47,230 MRR ✓
|
|
208
|
+
datadog-metrics.png 99.7% uptime ✓
|
|
209
|
+
Time: 3.1s (not 10+ minutes of login screens)
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
No OAuth tokens. No service accounts. No API keys to rotate. You're already logged in.
|
|
213
|
+
|
|
214
|
+
### Automated Regression Testing
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# Full regression suite — 10 flows, 10 Workers, one command
|
|
218
|
+
claude -p "ccp test these 10 critical flows on staging.myapp.com:
|
|
219
|
+
login, signup, checkout, search, profile-edit,
|
|
220
|
+
password-reset, file-upload, notifications, admin-panel, API-docs"
|
|
221
|
+
|
|
222
|
+
# Sequential: ~15 minutes. CCP: ~90 seconds.
|
|
223
|
+
# Run this before every deploy.
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Each Worker gets an isolated session — no cookie contamination between test flows. Test multi-user scenarios (admin + regular user) simultaneously.
|
|
227
|
+
|
|
228
|
+
### Competitive Intelligence at Scale
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
You: ccp monitor pricing on Amazon, Walmart, Target, Best Buy, and Costco
|
|
232
|
+
for "Sony WH-1000XM5" — compare and find the lowest
|
|
233
|
+
|
|
234
|
+
Claude: [5 Workers, 5 retailers, parallel]
|
|
235
|
+
Amazon: $278
|
|
236
|
+
Walmart: $298
|
|
237
|
+
Target: $279
|
|
238
|
+
Best Buy: $249 ← lowest (sale)
|
|
239
|
+
Costco: $269 (members only)
|
|
240
|
+
Time: 2.4s | All prices from live pages, not cached APIs
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Works on sites with bot detection because it's your real Chrome — real cookies, real fingerprint, real browsing history.
|
|
244
|
+
|
|
245
|
+
### Multi-Account Operations
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
You: ccp check order status on my personal and business Amazon accounts,
|
|
249
|
+
plus my eBay seller dashboard — all at the same time
|
|
250
|
+
|
|
251
|
+
Claude: [3 Workers, 3 isolated sessions]
|
|
252
|
+
Amazon Personal: 2 packages arriving tomorrow
|
|
253
|
+
Amazon Business: Purchase order #4521 approved
|
|
254
|
+
eBay Seller: 3 new orders, $847 revenue today
|
|
255
|
+
Time: 2.1s
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
Same site, different accounts, simultaneously. Each Worker has its own cookies and session state.
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## Comparison
|
|
263
|
+
|
|
264
|
+
| | Playwright MCP | Browserbase | Chrome Extension | **CCP** |
|
|
265
|
+
|---|:---:|:---:|:---:|:---:|
|
|
266
|
+
| **Auth overhead per site** | ❌ 30-120s | ❌ 30-120s | ✅ 0s | **✅ 0s** |
|
|
267
|
+
| **5-site authenticated task** | ~250s | ~250s + cost | N/A (1 session) | **~3s** |
|
|
268
|
+
| **Memory (5 sessions)** | ~2.5 GB | N/A (cloud) | N/A | **~300 MB** |
|
|
269
|
+
| **Uses your Chrome logins** | ❌ Blank browser | ❌ Cloud browser | ✅ | **✅** |
|
|
270
|
+
| **Concurrent sessions** | ⚠️ Limited | ✅ (paid) | ❌ 1 (crashes) | **✅ 20+** |
|
|
271
|
+
| **Multi-account isolation** | ❌ | ✅ (paid) | ❌ | **✅** |
|
|
272
|
+
| **Runs locally** | ✅ | ❌ Cloud only | ✅ | **✅** |
|
|
273
|
+
| **Free** | ✅ | ❌ | ✅ | **✅** |
|
|
274
|
+
| **No bot detection** | ❌ Headless | ❌ Fingerprinted | ✅ | **✅** |
|
|
275
|
+
| **Device emulation** | ✅ | ✅ | ❌ | **✅** |
|
|
276
|
+
| **Network simulation** | ✅ | ❌ | ❌ | **✅** |
|
|
277
|
+
| **Workflow orchestration** | ❌ | ❌ | ❌ | **✅** |
|
|
278
|
+
| **Adaptive Guidance** | ❌ | ❌ | ❌ | **✅** |
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Adaptive Guidance
|
|
283
|
+
|
|
284
|
+
The biggest time sink in LLM browser automation isn't execution speed — it's **wrong tool choices, missed page state, and pointless retries**. Each mistake costs 3-10 seconds of LLM inference. Three mistakes and you've wasted 30 seconds before anything useful happens.
|
|
285
|
+
|
|
286
|
+
CCP injects contextual `_hint` fields into every tool response to prevent this:
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
click_element → Error: "ref not found"
|
|
290
|
+
_hint: "Refs expire after page changes. Use read_page for fresh refs."
|
|
291
|
+
→ LLM self-corrects. No retry loop. No wasted tokens.
|
|
292
|
+
|
|
293
|
+
navigate → title contains "Login"
|
|
294
|
+
_hint: "Login page detected. Use fill_form for credentials."
|
|
295
|
+
→ LLM skips straight to form filling.
|
|
296
|
+
|
|
297
|
+
find → computer(click) pattern detected
|
|
298
|
+
_hint: "Use click_element to find+click in one call."
|
|
299
|
+
→ Eliminates unnecessary intermediate steps.
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
21 static rules across 6 priority tiers + an **adaptive memory** system that learns from your usage. When the same error→recovery pattern appears 3 times, it's promoted to a permanent hint — persisted across sessions in `.chrome-parallel/hints/learned-patterns.json`.
|
|
303
|
+
|
|
304
|
+
<details>
|
|
305
|
+
<summary>Rule priority tiers</summary>
|
|
306
|
+
|
|
307
|
+
| Tier | Priority | Examples |
|
|
308
|
+
|------|----------|---------|
|
|
309
|
+
| Error Recovery | 100 | Stale refs, tab not found, timeouts, null elements |
|
|
310
|
+
| Composite Hints | 200 | find+click → click_element, multiple form_input → fill_form |
|
|
311
|
+
| Repetition Detection | 250 | Same-tool error streaks, A↔B oscillation loops |
|
|
312
|
+
| Sequence Detection | 300 | Login page detection, navigate→screenshot without wait |
|
|
313
|
+
| Learned Patterns | 350 | Automatically discovered error→recovery correlations |
|
|
314
|
+
| Success Hints | 400 | Post-click navigation check, form submission verification |
|
|
315
|
+
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## Tools (36)
|
|
321
|
+
|
|
322
|
+
<details>
|
|
323
|
+
<summary><b>Browser Automation</b> — navigate, click, type, find</summary>
|
|
324
|
+
|
|
325
|
+
| Tool | Description |
|
|
326
|
+
|------|-------------|
|
|
327
|
+
| `navigate` | Go to URL, back/forward |
|
|
328
|
+
| `computer` | Screenshot, click, keyboard, scroll |
|
|
329
|
+
| `read_page` | Parse page structure (accessibility tree) |
|
|
330
|
+
| `find` | Find elements by natural language |
|
|
331
|
+
| `click_element` | Find and click in one step |
|
|
332
|
+
| `wait_and_click` | Wait for element, then click |
|
|
333
|
+
| `form_input` | Set individual form values |
|
|
334
|
+
| `fill_form` | Fill multiple fields + submit in one call |
|
|
335
|
+
| `javascript_tool` | Execute JavaScript |
|
|
336
|
+
|
|
337
|
+
</details>
|
|
338
|
+
|
|
339
|
+
<details>
|
|
340
|
+
<summary><b>Browser Environment</b> — device, network, location</summary>
|
|
341
|
+
|
|
342
|
+
| Tool | Description |
|
|
343
|
+
|------|-------------|
|
|
344
|
+
| `user_agent` | Set User-Agent (chrome, safari, googlebot, etc.) |
|
|
345
|
+
| `geolocation` | Override location (seoul, tokyo, new-york, etc.) |
|
|
346
|
+
| `emulate_device` | Device emulation (iphone-14, ipad-pro, pixel-7, etc.) |
|
|
347
|
+
| `network` | Simulate network conditions (3G, 4G, offline) |
|
|
348
|
+
|
|
349
|
+
</details>
|
|
350
|
+
|
|
351
|
+
<details>
|
|
352
|
+
<summary><b>Page Operations</b> — content, PDF, reload, wait</summary>
|
|
353
|
+
|
|
354
|
+
| Tool | Description |
|
|
355
|
+
|------|-------------|
|
|
356
|
+
| `page_reload` | Reload page (optional cache bypass) |
|
|
357
|
+
| `page_content` | Get HTML content from page or element |
|
|
358
|
+
| `page_pdf` | Generate PDF (A4, Letter, landscape) |
|
|
359
|
+
| `wait_for` | Wait for selector, navigation, function, or timeout |
|
|
360
|
+
|
|
361
|
+
</details>
|
|
362
|
+
|
|
363
|
+
<details>
|
|
364
|
+
<summary><b>DOM, Storage, Debugging, Advanced</b></summary>
|
|
365
|
+
|
|
366
|
+
| Tool | Description |
|
|
367
|
+
|------|-------------|
|
|
368
|
+
| `selector_query` | Query elements by CSS selector |
|
|
369
|
+
| `xpath_query` | Query elements by XPath expression |
|
|
370
|
+
| `cookies` | Get/set/delete browser cookies |
|
|
371
|
+
| `storage` | Manage localStorage/sessionStorage |
|
|
372
|
+
| `console_capture` | Capture console logs (with type filtering) |
|
|
373
|
+
| `performance_metrics` | Performance metrics (FCP, load time, JS heap) |
|
|
374
|
+
| `request_intercept` | Intercept/block/log network requests |
|
|
375
|
+
| `drag_drop` | Drag and drop by selector or coordinates |
|
|
376
|
+
| `file_upload` | Upload files to file input elements |
|
|
377
|
+
| `http_auth` | Set HTTP Basic Authentication credentials |
|
|
378
|
+
|
|
379
|
+
</details>
|
|
380
|
+
|
|
381
|
+
<details>
|
|
382
|
+
<summary><b>Workers & Orchestration</b></summary>
|
|
383
|
+
|
|
384
|
+
| Tool | Description |
|
|
385
|
+
|------|-------------|
|
|
386
|
+
| `worker_create` | Create isolated browser context |
|
|
387
|
+
| `worker_list` | List Workers and their tabs |
|
|
388
|
+
| `worker_update` | Update worker progress |
|
|
389
|
+
| `worker_complete` | Mark worker as complete |
|
|
390
|
+
| `worker_delete` | Delete Worker |
|
|
391
|
+
| `tabs_create_mcp` | Create new tab |
|
|
392
|
+
| `tabs_context_mcp` | Get tab info |
|
|
393
|
+
| `tabs_close` | Close tabs |
|
|
394
|
+
| `workflow_init` | Initialize parallel workflow |
|
|
395
|
+
| `workflow_status` | Check workflow progress |
|
|
396
|
+
| `workflow_collect` | Collect results from all Workers |
|
|
397
|
+
| `workflow_cleanup` | Clean up workflow resources |
|
|
398
|
+
|
|
399
|
+
</details>
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## CLI
|
|
404
|
+
|
|
405
|
+
```bash
|
|
406
|
+
ccp setup # Auto-configure (global)
|
|
407
|
+
ccp setup --scope project # Auto-configure (project only)
|
|
408
|
+
ccp serve --auto-launch # Start with auto Chrome launch
|
|
409
|
+
ccp serve --headless-shell # Headless mode (15-30% less memory)
|
|
410
|
+
ccp serve -p <port> # Custom debugging port (default: 9222)
|
|
411
|
+
ccp doctor # Diagnose installation
|
|
412
|
+
ccp status # View sessions
|
|
413
|
+
ccp cleanup # Clean up old sessions
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
> `ccp` requires global install (`npm i -g claude-chrome-parallel`). All commands also work via `npx claude-chrome-parallel <command>`.
|
|
417
|
+
|
|
418
|
+
---
|
|
419
|
+
|
|
420
|
+
<details>
|
|
421
|
+
<summary><b>Performance Optimizations</b></summary>
|
|
422
|
+
|
|
423
|
+
- **Memory** — Renderer process limits, JS heap caps, forced GC on tab close
|
|
424
|
+
- **Screenshots** — WebP format (3-5x smaller than PNG)
|
|
425
|
+
- **Cookie Bridge** — 30s TTL cache for auth cookie sharing (~10ms vs 2-6s)
|
|
426
|
+
- **Find Tool** — Batched CDP queries (~100ms vs ~400ms)
|
|
427
|
+
- **Headless Shell** — `--headless-shell` for 15-30% less memory
|
|
428
|
+
|
|
429
|
+
</details>
|
|
430
|
+
|
|
431
|
+
---
|
|
432
|
+
|
|
433
|
+
## Development
|
|
434
|
+
|
|
435
|
+
```bash
|
|
436
|
+
git clone https://github.com/shaun0927/claude-chrome-parallel.git
|
|
437
|
+
cd claude-chrome-parallel
|
|
438
|
+
npm install && npm run build && npm test
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
## Compatibility
|
|
442
|
+
|
|
443
|
+
CCP is a standard **MCP server** (stdio JSON-RPC). While optimized for Claude Code, it works with any MCP-compatible client:
|
|
444
|
+
|
|
445
|
+
```json
|
|
446
|
+
{
|
|
447
|
+
"mcpServers": {
|
|
448
|
+
"chrome-parallel": {
|
|
449
|
+
"command": "npx",
|
|
450
|
+
"args": ["-y", "claude-chrome-parallel", "serve", "--auto-launch"]
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
Cursor, Windsurf, Codex CLI, or any editor that supports MCP can use CCP with the config above. See [Contributing](CONTRIBUTING.md) for multi-client testing status.
|
|
457
|
+
|
|
458
|
+
## License
|
|
459
|
+
|
|
460
|
+
MIT — [LICENSE](LICENSE)
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
> **Disclaimer**: Unofficial community project. Not affiliated with Anthropic. "Claude" is a trademark of Anthropic.
|