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
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