Yury Semikhatsky
91d5d24cab
chore: handle list roots in the server, with timeout ( #898 )
2025-08-15 11:23:59 -07:00
Yury Semikhatsky
ba726fb44a
chore(extension): connection timeout when extension not installed ( #896 )
2025-08-15 09:09:35 -07:00
Pavel Feldman
c92aefdc12
chore: close all clients in fixture ( #878 )
2025-08-14 10:57:07 -07:00
Yury Semikhatsky
12942b81d6
fix: wait for initialization to complete before listing tools ( #886 )
2025-08-13 17:29:10 -07:00
Pavel Feldman
c091a11d76
chore: extract utils folder ( #876 )
2025-08-12 14:33:00 -07:00
Yury Semikhatsky
1fb2878271
fix(proxy): properly forward root requests and client metadata ( #865 )
2025-08-12 10:17:45 +02:00
Pavel Feldman
24f81a7a27
fix: emit code for waitfor ( #862 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/859
2025-08-11 11:58:45 -07:00
Pavel Feldman
16f3523317
chore: do not return fullPage screenshots to the LLM ( #849 )
2025-08-08 09:36:51 -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
3f6837baa9
fix: cursor does not respond to listRoots ( #826 )
2025-08-04 20:52:55 -07:00
Pavel Feldman
3c6eac9b21
chore: follow up with win test fix ( #818 )
2025-08-01 18:19:03 -07:00
Pavel Feldman
a60d7b8cd1
chore: slice profile dirs by root in vscode ( #814 )
2025-08-01 16:59:59 -07:00
Pavel Feldman
3787439fc1
chore: serialize session entries for tool calls and user actions ( #803 )
2025-07-31 15:16:56 -07:00
Max Schmitt
2a86ac74e3
chore: use pngs by default for screenshots ( #797 )
...
1. Use PNG by default.
1. Increase JPG quality from `50` -> `90`.
2025-07-31 11:03:19 +02:00
Pavel Feldman
f600234897
chore: record user actions in the session log ( #798 )
2025-07-30 18:26:13 -07:00
Pavel Feldman
4df162aff5
chore: parse response in tests ( #796 )
2025-07-30 12:47:22 -07:00
Pavel Feldman
2bf57e22c6
chore: do not snapshot on fill ( #767 )
2025-07-25 15:54:18 -07:00
Pavel Feldman
6710a78641
Revert "chore: recommend sse by default" ( #765 )
...
Reverts microsoft/playwright-mcp#758
Sounds like the stock streamable implementation is to spec, so we can
keep it.
2025-07-25 12:18:02 -07:00
Yury Semikhatsky
26a2a6fc83
chore: recommend sse by default ( #758 )
2025-07-25 09:51:01 -07:00
Pavel Feldman
601a74305c
chore: introduce response type ( #738 )
2025-07-22 16:36:21 -07:00
Pavel Feldman
468c84eb8f
chore: move state to tab, do not cache snapshot ( #730 )
2025-07-22 07:53:33 -07:00
Pavel Feldman
f1826b96b6
chore: align lint w/ playwright ( #729 )
2025-07-21 17:07:13 -07:00
Copilot
eeeab4f042
fix: browser_take_screenshot to not require snapshot unless element is specified ( #725 )
2025-07-21 10:52:06 -07:00
Copilot
efe3ff0c7c
Add test for browser_evaluate error handling ( #719 )
2025-07-19 20:12:32 -07:00
Pavel Feldman
29711d07d3
chore: use streamable http by default ( #716 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-07-18 18:31:00 -07:00
Copilot
1eee30fd45
feat: add fullPage mode to browser_take_screenshot ( #704 )
2025-07-18 13:56:43 -07:00
Copilot
29ac29e6bb
fix: no-sandbox flag logic to only disable sandbox when explicitly passed ( #709 )
2025-07-18 13:56:01 -07:00
Pavel Feldman
5bfff0a059
chore: include recent console logs in results ( #689 )
2025-07-17 14:58:44 -07:00
Pavel Feldman
c97bc6e2ae
chore: allow right click ( #687 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/467
2025-07-17 13:24:05 -07:00
Pavel Feldman
95454735bf
chore: remove image reply special case in cursor ( #680 )
2025-07-16 18:32:07 -07:00
Pavel Feldman
e9f6433241
chore: remove server experiment ( #681 )
2025-07-16 18:05:47 -07:00
Pavel Feldman
d61aa16fee
chore: turn vision into capability ( #679 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/420
2025-07-16 16:40:00 -07:00
Pavel Feldman
012c906500
chore: introduce browser_evaluate ( #678 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/424
2025-07-16 15:02:47 -07:00
Pavel Feldman
825a97d66e
chore: remove generate_test tool for now - it adds no value ( #675 )
2025-07-16 13:33:05 -07:00
Pavel Feldman
3061d9aa56
chore: resolve dialog races ( #673 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/595
2025-07-16 13:32:54 -07:00
Pavel Feldman
da818d113a
chore: make tab indexes 0-based ( #674 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/570
2025-07-16 09:55:08 -07:00
Pavel Feldman
a5a57df105
chore: include page errors in console messages ( #671 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/669
2025-07-15 15:46:09 -07:00
Pavel Feldman
128474b4aa
chore: remove extension code ( #667 )
2025-07-14 10:52:38 -07:00
Pavel Feldman
7fca8f50f8
chore: roll Playwright to 1.54.1 ( #665 )
2025-07-14 09:51:14 -07:00
Simon Knott
841bb417d1
chore: update to 1.54.0 ( #653 )
...
Closes https://github.com/microsoft/playwright-mcp/issues/535
2025-07-14 09:53:33 +02:00
Pavel Feldman
59f1d67a4e
feat(dblclick): add double click ( #654 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/652
2025-07-11 16:45:39 -07:00
Simon Knott
9066988098
chore: improve "ref not found" error message ( #561 )
...
Helps the model better understand the error cause.
2025-06-17 14:09:29 +02: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
Max Schmitt
abbe7858a2
test: add PWMCP_DEBUG env switch ( #523 )
2025-06-05 10:40:03 -07:00
Pavel Feldman
27c498e0e7
chore: rename browser agent to server ( #521 )
2025-06-04 16:43:11 -07:00
Pavel Feldman
0fb9646c4d
chore: experimental agent mode ( #516 )
2025-06-04 09:14:50 -07:00
Simon Knott
9728527900
chore: typo ( #513 )
2025-06-03 11:10:47 -07:00
Pavel Feldman
f31ef598bc
test: verify the log in close/navigate test ( #505 )
2025-06-01 12:49:30 -07:00
Pavel Feldman
656779531c
chore: respect server settings from config ( #502 )
2025-05-30 18:17:51 -07:00
Pavel Feldman
eec177d3ac
chore: reuse browser in server mode ( #495 )
2025-05-30 15:15:37 -07:00