Taiga Mikami
65a229c79f
Fix import in README from createServer to createConnection ( #396 )
...
Probably, `createServer` is not from `@playwright/mcp`.
2025-05-12 08:46:21 -07:00
Max Schmitt
84664d4b09
test: unflake 'should throw connection error and allow re-connecting' ( #398 )
...
Fixes
https://github.com/microsoft/playwright-mcp/actions/runs/14940263450/job/41976152764#step:8:315
2025-05-12 09:45:09 +02:00
Pavel Feldman
445170a76b
chore: roll playwright 5/9 ( #394 )
2025-05-09 18:01:17 -07:00
Pavel Feldman
c28b480b51
feat(wait): allow waiting for given text ( #390 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/389
2025-05-09 15:35:28 -07:00
Max Schmitt
65716b60dd
fix: createConnection() via public API ( #384 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/382
2025-05-09 21:50:38 +02:00
Max Schmitt
75f74a54bc
docs: reference to new Docker image ( #380 )
2025-05-09 21:01:10 +02:00
Max Schmitt
ef41c626ef
chore: unset skipLibCheck in tsconfig.json ( #386 )
...
Follow-up for
https://github.com/microsoft/playwright-mcp/pull/385#discussion_r2081541865 .
> `skipLibCheck`: Skip type checking all .d.ts files.
2025-05-09 14:35:09 +02:00
Max Schmitt
95ca08fdb7
fix: use of wrong launchOptions type in public API ( #385 )
2025-05-09 14:16:04 +02:00
Max Schmitt
053c2f3d32
test: fix SSE MCP SDK imports ( #383 )
2025-05-09 14:08:19 +02:00
Pavel Feldman
57b3c14276
chore: only reset network log upon explicit navigation ( #377 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/376
2025-05-08 17:02:09 -07:00
おがどら
85c85bd2fb
chore: support custom filename in screenshot function ( #349 )
2025-05-08 11:04:18 -07:00
Max Schmitt
09ba7989c3
test: run tests on MCP server inside Docker ( #361 )
...
https://github.com/microsoft/playwright-mcp/issues/346
2025-05-07 18:04:20 +02:00
Max Schmitt
a115c31953
chore: rename console to consoleMessages ( #372 )
...
Motivation: `console` is a global object in Node.js and having a method
like that confuses intellisense.
2025-05-07 16:40:08 +02:00
Max Schmitt
b5be37e5e7
chore: mark v0.0.22 ( #370 )
v0.0.22
2025-05-07 12:49:11 +02:00
Simon Knott
c2255246a3
fix: don't error on navigating to a download link ( #328 )
2025-05-07 12:47:45 +02:00
Max Schmitt
950d0d1d34
devops: fix Docker publishing ( #369 )
2025-05-07 11:46:33 +02:00
Max Schmitt
cdeba454b5
chore: mark v0.0.21 ( #364 )
v0.0.21
2025-05-07 11:30:11 +02:00
Max Schmitt
91ae93c167
chore: change import assert to readFile ( #368 )
2025-05-07 11:30:01 +02:00
Max Schmitt
35e6c49d7c
devops: publish Docker image to :latest as well ( #365 )
...
We don't do that for normal Playwright because we expect the user to
mount/add/copy their own Playwright folder and there the version has to
match. In this case publishing to `:latest` seems fine since its a
isolated product.
2025-05-07 11:14:05 +02:00
Pavel Feldman
e95b5b1dd6
chore: get rid of connection factory ( #362 )
...
Drive-by User-Agent sniffing and disabling of image type in Cursor.
2025-05-06 14:27:28 -07:00
Max Schmitt
23a2e5fee7
devops: add Docker publishing ( #356 )
2025-05-06 23:14:41 +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
kanchi
8cd7d5a753
chore(docker): optimize Dockerfile by excluding unnecessary files and using non-root user ( #273 )
2025-05-05 14:38:02 -07:00
Ross Wollman
42faa3ccf8
feat: add --(allowed|blocked)-origins ( #319 )
...
Useful to limit the agent when using the playwright-mcp server with an
agent in auto-invocation mode.
Not intended to be a security feature.
2025-05-05 11:28:14 -07:00
Pavel Feldman
4694d60fc5
fix(config): allow specifying user data dir in config ( #342 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/340
2025-05-05 08:23:24 -07:00
Max Schmitt
7dc689eee7
fix: installation tool on Windows ( #345 )
2025-05-04 06:56:59 -07:00
おがどら
5df011ad4b
feat(cli): set outputDir
via cli options ( #338 )
2025-05-03 20:11:17 -07:00
Pavel Feldman
200cf737bb
chore: use import.meta.resolve to lookup Playwright ( #337 )
2025-05-03 14:38:58 -07:00
Pavel Feldman
d8a59e0d0d
chore: mark v0.0.20 ( #336 )
v0.0.20
2025-05-02 21:31:06 -07:00
Pavel Feldman
21533d9000
chore: installation test added ( #335 )
2025-05-02 21:30:55 -07:00
Ryosuke Iwanaga
49979641fa
fix: require is not defined ( #334 )
...
Since it's moved to ESM, `require` isn't defined.
This hotfix is just recreating `require` to workaround this issue.
2025-05-02 21:19:54 -07:00
Pavel Feldman
43aa4001b5
chore: mark v0.0.19 ( #332 )
v0.0.19
2025-05-02 18:38:20 -07:00
Pavel Feldman
7e087af6a6
chore: slightly adjust gen test prompt ( #333 )
2025-05-02 18:38:06 -07:00
Pavel Feldman
927a1280f1
chore: allow generating tests for script ( #331 )
2025-05-02 17:41:58 -07:00
Pavel Feldman
292e75d464
chore: roll Playwright to remove empty generic nodes ( #330 )
2025-05-02 16:10:48 -07:00
Simon Knott
2c9376e50f
chore: don't sanitize file extension away ( #327 )
2025-05-02 10:58:48 -07:00
Max Schmitt
062cdd0704
fix: sticky launch errors ( #324 )
...
This fixes an issue that there were sticky launch errors. When the
[following code
path](a15f0f301b/src/context.ts (L307-L339)
)
was throwing, the Error was stored in the Promise and not cleared
afterwards, this meant:
- If a browser was not there and the user tried to install it via
`browser_install` it was never working since the error was sticky.
- If other errors like CDP is not available yet etc. error appear a
re-connect would not work - the MCP server would require a restart.
Test plan: Since we don't have any `browser_install` tests I added a CDP
test for now to cover this bug.
2025-05-02 15:32:37 +02:00
Max Schmitt
a713300c5b
test: use TestOptions type in config ( #326 )
2025-05-02 13:50:03 +02:00
Simon Knott
a15f0f301b
chore: save downloads to outputDir ( #310 )
2025-05-02 10:57:31 +02:00
Pavel Feldman
23ce973377
lint: ban console output ( #317 )
2025-04-30 14:15:32 -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 )
v0.0.18
2025-04-30 13:07:55 -07:00
Pavel Feldman
6d6b1a384b
chore: fix merge config ( #311 )
2025-04-30 08:41:19 -07:00
Pavel Feldman
fd22def4c5
chore: fix test harness, close the client ( #312 )
2025-04-30 08:07:54 -07:00
Simon Knott
1b60870f50
chore: bump to 0.0.17 ( #306 )
v0.0.17
2025-04-30 12:30:03 +02:00
Simon Knott
1c760b3826
fix: default to headful ( #305 )
...
See https://github.com/microsoft/playwright-mcp/issues/304
Regressed in
69703cc882
.
2025-04-30 12:23:30 +02:00
Pavel Feldman
9efaea6a1c
chore: mark v0.0.16 ( #298 )
v0.0.16
2025-04-29 19:51:57 -07:00
Pavel Feldman
3f72fe53ec
chore: add support for device ( #300 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/294
2025-04-29 19:51:00 -07:00
Pavel Feldman
40d125f0bb
docs: document configuration file ( #299 )
2025-04-29 15:29:56 -07:00
Pavel Feldman
21d2f80fef
chore: store channel profiles separately ( #297 )
2025-04-29 13:34:56 -07:00