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
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
7695717546
docs: provide missing docs ( #214 )
2025-04-17 14:49:22 -07:00
Pavel Feldman
6a070a0dd8
chore: restore page-side timeout ( #213 )
2025-04-17 14:25:27 -07:00
Pavel Feldman
6481100bdf
feat(dialog): handle dialogs ( #212 )
2025-04-17 14:03:13 -07:00
Pavel Feldman
4b261286bf
chore: test list tabs ( #208 )
2025-04-17 09:58:02 +02:00
Pavel Feldman
7e4a964b0a
chore: flatten tool calling, prep for timeout handling ( #205 )
2025-04-16 19:36:48 -07:00
Pavel Feldman
cea347d067
chore: introduce modal states ( #204 )
2025-04-16 15:21:45 -07:00
Pavel Feldman
6054290d9a
chore: follow up to the element screenshot change ( #199 )
2025-04-16 12:53:27 -07:00
Andrei-Daniel Barzu
6d4adfe5c6
feat: add element screenshot action for snapshots ( #182 )
2025-04-16 10:28:44 -07:00
Simon Knott
e7c7709b33
chore: include "playwright" keyword, add examples ( #196 )
2025-04-16 08:18:40 -07:00
Pavel Feldman
5c2e11017d
chore: convert console resource to tool ( #193 )
2025-04-15 18:01:59 -07:00
Pavel Feldman
e4331313f9
chore: update exported types ( #192 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/186
2025-04-15 16:39:52 -07:00
Pavel Feldman
bc48600a49
chore: mark v0.0.13 ( #190 )
v0.0.13
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
Pavel Feldman
795a9d578a
chore: generalize status & action as code ( #188 )
2025-04-15 12:54:45 -07:00
Simon Knott
4a19e18999
feat: respond with action and generated locator ( #181 )
...
Closes https://github.com/microsoft/playwright-mcp/issues/163
2025-04-15 10:55:20 -07:00
Simon Knott
4d59e06184
test: fix flaky test ( #180 )
...
Closes https://github.com/microsoft/playwright-mcp/issues/177
`ResizeObserver` isn't instant!
2025-04-15 16:10:49 +02:00
Pavel Feldman
6891a525b3
chore: add npx install step to the publish workflow ( #178 )
2025-04-14 20:09:38 -07:00
Yury Semikhatsky
0f7fd1362f
chore: mark 0.0.12 ( #176 )
v0.0.12
2025-04-14 19:39:10 -07:00
Yury Semikhatsky
de08c24b96
fix: consider DISPLAY only on linux ( #175 )
2025-04-14 19:07:39 -07:00
Pavel Feldman
71e51ea42a
chore: mark v0.0.11 ( #173 )
v0.0.11
2025-04-14 16:48:36 -07:00
Pavel Feldman
0c5a104e0f
chore: default to headless when DISPLAY is missing ( #172 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/165
2025-04-14 16:47:32 -07:00
Pavel Feldman
606b898a71
chore: allow reusing tab over cdp ( #170 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/164
2025-04-14 16:39:58 -07:00
Simon Knott
e729494bd9
feat: browser_resize ( #92 )
2025-04-14 16:09:48 -07:00
Cameron
77080e8ca4
Restore package-lock.json
module hashes ( #151 )
...
- Adds integrity hashes that were missing for 5 npm packages in
`package-lock.json`
<hr />
Is there a reason hashes for some of these dependencies are missing from
`package-lock.json`?
Right now these omissions prevent me from packaging a nix derivation for
this mcp server directly off this repo
(https://github.com/cameronfyfe/nix-mcp-servers/blob/main/pkgs/servers/mcp-server-playwright/default.nix#L17 )
and I was wondering if they might just be missing due to a bad merge or
something odd like that at some point. `npm install` under normal use
doesn't seem to care if the hashes are missing and installs the packages
anyway, but it's a blocker for hermetic build systems like nix.
If this is intentional for some reason I'm not familiar with feel free
to ignore and close.
2025-04-10 15:24:36 +02:00
Simon Knott
31ac1ed191
fix: exit watchdog should listen for SIGINT/SIGTERM ( #144 )
2025-04-07 14:51:57 -07:00