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
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
zwmmm
ad4147da54
docs: Fix the default path to User data directory ( #290 )
...
Fix the default path to User data directory
2025-04-29 08:53:30 -07:00
Pavel Feldman
69703cc882
chore: follow up to exposing playwright config options ( #289 )
2025-04-29 08:53:03 -07:00
Max Schmitt
4147e21a3a
chore: fix update-readme TS linting ( #296 )
2025-04-29 16:12:17 +02:00
Pavel Feldman
80c9b93b72
chore: allow configuring raw Playwright options ( #287 )
...
Fixes: https://github.com/microsoft/playwright-mcp/issues/272
2025-04-28 20:17:16 -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
Pavel Feldman
697a69a8c2
chore: allow specifying output dir ( #285 )
...
Ref: https://github.com/microsoft/playwright-mcp/issues/279
2025-04-28 16:35:33 -07:00
Pavel Feldman
6e76d5e550
chore: split context.ts into files ( #284 )
2025-04-28 16:14:16 -07:00
Pavel Feldman
26779ceb20
chore: allow passing config file ( #281 )
2025-04-28 15:04:59 -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
Zheng Xi Zhou
7256ee3701
docs(readme): Fix syntax error and improve formatting ( #263 )
...
The commit fixes a syntax error in the `npx` command by removing
an extra backtick. It also improves the formatting by adding line
breaks before code blocks to enhance readability.
2025-04-24 10:30:35 +02:00
Zheng Xi Zhou
0ed0bcd914
feat(server): add host option to SSE server configuration ( #261 )
2025-04-23 23:04:00 -07:00
Zheng Xi Zhou
4d95761f66
chore(gitignore): Add .idea and .DS_Store to .gitignore ( #262 )
2025-04-23 22:05:06 -07:00
Max Schmitt
b9dc323734
chore: enable @typescript-eslint/no-floating-promises rule ( #260 )
2025-04-23 16:03:30 +02:00
Pavel Feldman
586492a3f0
chore: mark v0.0.15 ( #250 )
v0.0.15
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
1bc3c761de
feat(network): implement listing network requests ( #247 )
...
Fixes: https://github.com/microsoft/playwright-mcp/issues/242
2025-04-22 16:04:25 -07:00
Simon Knott
c80f7cf222
chore: infer tool params ( #241 )
...
Moves the `schema.parse` call to the calling side of the handler, so we
don't have to duplicate it everywhere.
2025-04-22 13:24:38 +02:00
Pavel Feldman
9578a5b2af
chore: mark v0.0.14 ( #237 )
v0.0.14
2025-04-21 17:52:35 -07:00
Pavel Feldman
cd5aa344f1
docs: push docker doc down the readme ( #236 )
2025-04-21 17:31:18 -07:00
Cody Rigney
dc955c73a3
Add Docker support ( #220 )
2025-04-21 17:26:50 -07:00
Rui Figueira
d4f8f87b03
docs: fix "programmatic usage with custom transports" code snippet ( #235 )
...
Fixes : #230
2025-04-21 15:09:58 -07:00