66 Commits

Author SHA1 Message Date
Pavel Feldman
2c5eac89a8
chore: add eval script (#743) 2025-07-23 10:31:37 -07:00
Pavel Feldman
601a74305c
chore: introduce response type (#738) 2025-07-22 16:36:21 -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
Yury Semikhatsky
d3867affed
chore: add mcp chrome extension (#710) 2025-07-18 17:12:44 -07:00
Pavel Feldman
64f950ae42
chore: mark v0.0.31 (#691) 2025-07-17 16:04:21 -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
be8adb1866
chore: migrate to locator._resolveSelector (#670) 2025-07-15 14:50:33 -07:00
Pavel Feldman
c5a2324aaf
chore: mark v0.0.30 (#666) 2025-07-14 10:53:12 -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
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
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
Dmitry Gozman
0df6d7a441
chore: roll playwright to Jun 10th, v1.53 (#542)
Co-authored-by: Simon Knott <simonknott@microsoft.com>
2025-06-11 15:53:14 +01:00
Dmitry Gozman
4ea7041ba9
chore: mark v0.0.29 (#541) 2025-06-11 12:00:52 +01: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
Pavel Feldman
675b083db3
chore: mark v0.0.28 (#503) 2025-06-01 14:30:42 -07:00
Pavel Feldman
eec177d3ac
chore: reuse browser in server mode (#495) 2025-05-30 15:15:37 -07:00
Pavel Feldman
177b008328
chore: mark v0.0.27 (#470) 2025-05-27 16:47:54 -07:00
Pavel Feldman
9429463951
chore: roll Playwright to 5/27 (#485) 2025-05-27 16:47:22 -07:00
Pavel Feldman
f20ae22ec6
chore: roll Playwright, remove localOutputDir (#471) 2025-05-24 11:44:57 -07:00
Pavel Feldman
c318f13895
chore: mark v0.0.26 (#441) 2025-05-17 08:20:37 -07:00
Pavel Feldman
746c9fc124
chore: mark v0.0.25 (#414) 2025-05-13 16:24:04 -07:00
Pavel Feldman
fea3f26e85
chore: mark v0.0.24 (#401) 2025-05-12 09:40:59 -07:00
Pavel Feldman
05dc5d915b
chore: mark v0.0.23 (#399) 2025-05-12 09:13:48 -07:00
Pavel Feldman
445170a76b
chore: roll playwright 5/9 (#394) 2025-05-09 18:01:17 -07:00
Max Schmitt
b5be37e5e7
chore: mark v0.0.22 (#370) 2025-05-07 12:49:11 +02:00
Max Schmitt
cdeba454b5
chore: mark v0.0.21 (#364) 2025-05-07 11:30:11 +02:00
Pavel Feldman
d01aa19ffa
chore: annotate tools (#351)
Fixes https://github.com/microsoft/playwright-mcp/issues/215
2025-05-05 17:38:22 -07:00
Pavel Feldman
d8a59e0d0d
chore: mark v0.0.20 (#336) 2025-05-02 21:31:06 -07:00
Pavel Feldman
43aa4001b5
chore: mark v0.0.19 (#332) 2025-05-02 18:38:20 -07:00
Pavel Feldman
292e75d464
chore: roll Playwright to remove empty generic nodes (#330) 2025-05-02 16:10:48 -07:00
Max Schmitt
685dea9e19
chore: migrate to ESM (#303)
- [Why do I need `.js`
extension?](https://stackoverflow.com/a/77150985/6512681)
- [Why setting `rootDir` in the
`tsconfig.json`?](https://stackoverflow.com/a/58941798/6512681)
- [How to ensure that we add the `.js` extension via
ESLint](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/extensions.md#importextensions)

Fixes https://github.com/microsoft/playwright-mcp/issues/302
2025-04-30 23:06:56 +02:00
Pavel Feldman
878be97668
chore: mark v0.0.18 (#315) 2025-04-30 13:07:55 -07:00
Simon Knott
1b60870f50
chore: bump to 0.0.17 (#306) 2025-04-30 12:30:03 +02:00
Pavel Feldman
9efaea6a1c
chore: mark v0.0.16 (#298) 2025-04-29 19:51:57 -07:00
Pavel Feldman
23704ace1f
chore: update docs on lint (#283) 2025-04-28 14:56:00 -07:00
Pavel Feldman
b02370df2f
chore: roll playwright to latest (#269) 2025-04-28 13:44:24 -07:00
Simon Knott
bf7dbabca4
feat: support streamable http transport (#243)
Adds support for the new StreamableHttp transport. I'm not aware of any
clients that implement it, but somebody's gotta make the start! Once
some clients support it, we can also advertise it in the README.
2025-04-28 11:11:31 +02:00
Pavel Feldman
586492a3f0
chore: mark v0.0.15 (#250) 2025-04-22 16:17:36 -07:00
Pavel Feldman
f7e9bae571
chore: roll playwright to 1745357020000 (#249) 2025-04-22 16:04:50 -07:00
Pavel Feldman
9578a5b2af
chore: mark v0.0.14 (#237) 2025-04-21 17:52:35 -07:00
Max Schmitt
0c3792d231
chore: auto update tools in README (#219)
Motivation: Keeping the readme up to date is a manual effort - this
keeps it automatically up to date and prevents things like
https://github.com/microsoft/playwright-mcp/pull/214 and other
consistency errors in the future.
2025-04-21 20:22:57 +02:00
Pavel Feldman
6481100bdf
feat(dialog): handle dialogs (#212) 2025-04-17 14:03:13 -07:00
Pavel Feldman
bc48600a49
chore: mark v0.0.13 (#190) 2025-04-15 15:27:29 -07:00
Yury Semikhatsky
0d6bb2f547
devops: add bots for other browsers/platforms (#174) 2025-04-15 13:16:56 -07:00
Yury Semikhatsky
0f7fd1362f
chore: mark 0.0.12 (#176) 2025-04-14 19:39:10 -07:00
Pavel Feldman
71e51ea42a
chore: mark v0.0.11 (#173) 2025-04-14 16:48:36 -07:00