Simon Knott
6c98594b7a
Revert "fix test"
...
This reverts commit ab696c2b1089de0af24e774a933595a78adf357a.
2025-06-11 15:21:56 +02:00
Simon Knott
ab696c2b10
fix test
2025-06-11 15:10:17 +02: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
Pavel Feldman
54ed7c3200
chore: refactor server, prepare for browser reuse ( #490 )
2025-05-28 16:55:47 -07:00
Simon Knott
45f493da6c
chore: make library test run under older Node versions ( #479 )
2025-05-27 13:19:25 -07:00
Pavel Feldman
9e5ffd2ccf
fix(cursor): allow enforcing images for cursor --image-responses=allow ( #478 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/449
2025-05-27 10:25:09 +02:00
Simon Knott
1051ea810a
fix: import from cjs ( #476 )
...
Closes https://github.com/microsoft/playwright-mcp/issues/456
2025-05-26 14:18:03 -07:00
Pavel Feldman
f20ae22ec6
chore: roll Playwright, remove localOutputDir ( #471 )
2025-05-24 11:44:57 -07:00
Simon Knott
13cd1b4bd9
fix: respect browserName in config ( #461 )
...
Resolves https://github.com/microsoft/playwright-mcp/issues/458
2025-05-23 15:13:34 -07:00
Pavel Feldman
1318e39fac
chore: fix operation over cdp ( #440 )
...
Ref https://github.com/microsoft/playwright-mcp/issues/439
2025-05-17 08:20:22 -07:00
Pavel Feldman
c2b7fb29de
chore: start trace server ( #427 )
2025-05-14 20:15:09 -07:00
Pavel Feldman
aa6ac51f92
feat(trace): allow saving trajectory as trace ( #426 )
2025-05-14 18:08:44 -07:00
Pavel Feldman
fea50e6840
chore: introduce resolved config ( #425 )
2025-05-14 16:01:08 -07:00
Pavel Feldman
ee33097abe
chore: normalize --no- options ( #413 )
2025-05-13 16:17:45 -07:00
Pavel Feldman
ce72367208
feat(storage): allow passing storage state for isolated contexts ( #409 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/403
Ref https://github.com/microsoft/playwright-mcp/issues/367
2025-05-13 13:14:04 -07:00
Pavel Feldman
949f956378
feat(ephemeral): allow for non-persistent context operation ( #405 )
...
Ref: https://github.com/microsoft/playwright-mcp/issues/367
Ref: https://github.com/microsoft/playwright-mcp/issues/393
2025-05-12 18:18:53 -07:00
Pavel Feldman
dd5b41f1d8
chore: account for undefined arguments ( #400 )
2025-05-12 09:35:33 -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
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
Simon Knott
c2255246a3
fix: don't error on navigating to a download link ( #328 )
2025-05-07 12:47:45 +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
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
おがどら
5df011ad4b
feat(cli): set outputDir
via cli options ( #338 )
2025-05-03 20:11:17 -07:00
Pavel Feldman
21533d9000
chore: installation test added ( #335 )
2025-05-02 21:30:55 -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
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
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
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
Simon Knott
6efdc90078
fix: show custom error for modal state ( #240 )
...
Calling a tool that resolves modal state, when there's no such modal
state visible, currently shows this misleading message:
```md
Tool "browser_file_upload" does not handle the modal state.
### Modal state
```
Instead, we should show the error message from the tool implementation.
2025-04-29 18:48:52 +02:00
Pavel Feldman
69703cc882
chore: follow up to exposing playwright config options ( #289 )
2025-04-29 08:53:03 -07:00
Pavel Feldman
12e72a96c4
chore: allow configuring screenshot tool ( #286 )
...
Fixes: https://github.com/microsoft/playwright-mcp/issues/277
2025-04-28 17:21:23 -07:00