Pavel Feldman
78795fc7c7
chore: mark v0.0.37 ( #1010 )
2025-09-06 13:04:30 -07:00
Yury Semikhatsky
971489536e
chore: resore extension sources ( #999 )
2025-09-04 15:00:42 -07:00
Pavel Feldman
c58b2a93da
chore: use mcp implementation in Playwright ( #992 )
2025-09-04 06:40:19 -07:00
Pavel Feldman
d142f13d80
chore: prep folders for copying upstream ( #987 )
2025-09-03 16:02:07 -07:00
Pavel Feldman
2461f32d05
chore: move from esm to cjs before upstreaming ( #986 )
2025-09-03 08:00:58 -07:00
Pavel Feldman
e8e2af40b7
chore: mark v0.0.36 ( #972 )
2025-08-31 11:26:29 -07:00
Yury Semikhatsky
7774ad93ca
chore(extension): support custom executablePath ( #947 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/941
2025-08-25 13:48:52 -07:00
Yury Semikhatsky
1a64a51812
chore: version extension-relay protocol ( #939 )
2025-08-25 11:48:23 -07:00
Pavel Feldman
22043cb3ef
chore: mark v0.0.35 ( #938 )
2025-08-23 15:34:49 -07:00
Yury Semikhatsky
0812df2f5e
chore(extension): do not complain about old extension version ( #937 )
2025-08-22 17:53:30 -07:00
Yury Semikhatsky
64af5f8763
chore(extension): do not show tab selector for browser_navigate ( #923 )
2025-08-22 10:02:09 -07:00
Yury Semikhatsky
fb65bc7559
chore: show download link on the status mismatch page ( #928 )
...
<img width="610" height="108" alt="image"
src="https://github.com/user-attachments/assets/bc1f7534-f282-44f0-bb58-e385b2bf82af "
/>
2025-08-22 09:10:53 -07:00
Yury Semikhatsky
f6862a39c3
chore: check version in page, link to instructions ( #918 )
2025-08-19 17:39:58 -07:00
Yury Semikhatsky
e664e0460c
chore: check extension version on connect ( #907 )
2025-08-18 13:28:13 -07:00
Yury Semikhatsky
d5d810f896
chore: mark 0.0.34 ( #901 )
2025-08-15 17:38:58 -07:00
Yury Semikhatsky
c559243ef6
chore(extension): connected badge while loading ( #899 )
2025-08-15 13:44:17 -07:00
Yury Semikhatsky
92554abfd1
devops: extension publishing job ( #888 )
2025-08-15 10:25:46 -07:00
Yury Semikhatsky
ba726fb44a
chore(extension): connection timeout when extension not installed ( #896 )
2025-08-15 09:09:35 -07:00
Yury Semikhatsky
2fc4e88048
chore(extension): add readme file, recommend --extension option ( #894 )
2025-08-14 16:01:14 -07:00
Yury Semikhatsky
f010164bf1
chore: mcp backend switcher ( #854 )
2025-08-11 14:16:43 -07:00
Yury Semikhatsky
21ced701b5
chore(extension): status page ( #856 )
2025-08-08 18:33:10 -07:00
Yury Semikhatsky
3b6ecf0a43
chore(extension): connect button for each page, style tweaks ( #848 )
...
<img width="643" height="709" alt="image"
src="https://github.com/user-attachments/assets/850f2455-b853-4c0f-8047-a7f2ced16b7b "
/>
2025-08-07 17:24:48 -07:00
Yury Semikhatsky
636f1956cc
chore(extension): explicitly detach from debugger when connection closes ( #847 )
2025-08-07 14:45:52 -07:00
Yury Semikhatsky
8ecc46c905
chore(extension): add test ( #842 )
...
* On Linux headed mode under xvfb-run fails to properly launch the
process. It works fine without xvfb-run, we don't have environment for
that on CI, so run on macOS instead.
* Node v18.20.8 stalls on `const uuid = crypto.randomUUID();`, so use
v20 for the extension tests.
2025-08-06 16:27:39 -07:00
Yury Semikhatsky
5dbb1504ba
chore(extension): show error when connection is rejected due to inact… ( #836 )
...
…ivity
2025-08-05 15:08:57 -07:00
Yury Semikhatsky
20e1144c3b
chore(extension): proper watchdog for inactive page selector ( #835 )
2025-08-05 14:18:04 -07:00
Yury Semikhatsky
eab20aa69e
chore(extension): do not send if socket is already closed ( #834 )
...
* Remove debugger listeners if closed() is called as `ws.onclosed` is
dispatched asynchronously
* Tabs can be closed while update badge command is in flight
* Inflight CDP commands fail if the tab closes, do not try to send their
response to a closed socket
2025-08-05 13:47:08 -07:00
Yury Semikhatsky
46ce86f97e
chore(extension): terminate connection if nothing has been selected ( #827 )
2025-08-05 09:47:39 -07:00
Yury Semikhatsky
6d62c173c8
chore(extension): build into dist directory ( #825 )
2025-08-04 11:47:25 -07:00
Yury Semikhatsky
41a44f7abc
chore(extension): terminate connection on debugger detach ( #816 )
2025-08-01 17:56:47 -07:00
Yury Semikhatsky
65d99fe595
chore(extension): do not show chrome: tabs ( #780 )
2025-07-29 10:11:44 -07:00
Yury Semikhatsky
903c857f19
chore(extension): use separate package.json ( #778 )
2025-07-28 17:16:08 -07:00
Yury Semikhatsky
9b5f97b076
chore(extension): use react for connect dialog ( #777 )
2025-07-28 15:23:33 -07:00
Yury Semikhatsky
dbf113d5e4
chore(extension): reject second http connection ( #766 )
2025-07-25 14:46:48 -07:00
Yury Semikhatsky
bd34e9d7e9
chore(extension): page selector for MCP ( #750 )
2025-07-24 12:01:35 -07:00
Yury Semikhatsky
53e3e37991
chore(extension): terminate all connections when tab closes ( #741 )
2025-07-22 22:23:00 -07:00
Yury Semikhatsky
c2b98dc70b
chore(extension): handle root session id in the relay ( #737 )
2025-07-22 13:49:39 -07:00
Yury Semikhatsky
70862ce456
chore(extension): propagate errors to the client ( #736 )
2025-07-22 13:13:27 -07:00
Yury Semikhatsky
d3867affed
chore: add mcp chrome extension ( #710 )
2025-07-18 17:12:44 -07:00
Pavel Feldman
128474b4aa
chore: remove extension code ( #667 )
2025-07-14 10:52:38 -07:00
Yury Semikhatsky
137b74750c
chore(extension): wrap CDP protocol ( #604 )
2025-06-26 16:21:59 -07:00
Yury Semikhatsky
ded00dc422
chore(extension): convert to typescript ( #603 )
2025-06-26 13:52:08 -07:00
Yury Semikhatsky
5df6c2431b
chore(extension): support reconnect, implement relay-extension protocol ( #602 )
2025-06-26 11:12:23 -07:00
Max Schmitt
6c3f3b6576
feat: add MCP Chrome extension ( #325 )
...
Instructions:
1. `git clone https://github.com/mxschmitt/playwright-mcp && git
checkout extension-drafft`
2. `npm ci && npm run build`
3. `chrome://extensions` in your normal Chrome, "load unpacked" and
select the extension folder.
4. `node cli.js --port=4242 --extension` - The URL it prints at the end
you can put into the extension popup.
5.
Put either this into Claude Desktop (it does not support SSE yet hence
wrapping it or just put the URL into Cursor/VSCode)
```json
{
"mcpServers": {
"playwright": {
"command": "bash",
"args": [
"-c",
"source $HOME/.nvm/nvm.sh && nvm use --silent 22 && npx supergateway --streamableHttp http://127.0.0.1:4242/mcp "
]
}
}
}
```
Things like `Take a snapshot of my browser.` should now work in your
Prompt Chat.
----
- SSE only for now, since we already have a http server with a port
there
- Upstream "page tests" can be executed over this CDP relay via
https://github.com/microsoft/playwright/pull/36286
- Limitations for now are everything what happens outside of the tab its
session is shared with -> `window.open` / `target=_blank`.
---------
Co-authored-by: Yury Semikhatsky <yurys@chromium.org >
2025-06-13 13:15:17 -07:00