Pavel Feldman
3b0e4c3b27
chore: refactor tests for real
2025-03-27 16:50:43 -07:00
Simon Knott
b477b7c26f
chore: refactor tests ( #61 )
2025-03-27 15:47:15 -07:00
Simon Knott
5e200405e5
feat: browser_choose_file ( #52 )
...
Resolves https://github.com/microsoft/playwright-mcp/issues/31 .
Prompt used for testing:
```
upload test.txt to dropbox
```
This won't work for asynchronously opened filechoosers, but let's start
with the synchronous variant. I also tested with including the file
chooser open state in the snapshot, but that didn't give better results.
I also tested with OneDrive and WeTransfer, but somehow our ARIA
snapshots for those pages are missing some elements that are crucial to
locate the upload buttons.
2025-03-27 20:49:57 +01:00
Simon Knott
f033213618
chore: only include visible iframes, keep frame locators in own array ( #60 )
...
As discussed:
- hides invisible frames from snapshot
- keep our own frame locator array, so we don't rely on `page.frames()`
ordering to be stable
2025-03-27 20:22:44 +01:00
Simon Knott
1b18e31ffe
chore: sse test ( #59 )
2025-03-27 19:23:50 +01:00
Simon Knott
723a5420e6
fix: stitch all frames into one snapshot ( #49 )
2025-03-27 09:20:58 -07:00
Simon Knott
fb24561c67
chore: test --vision ( #54 )
2025-03-27 09:13:06 -07:00
Pavel Feldman
d4bc2c78d2
chore: allow taking pixel screenshots in snapshot mode ( #44 )
...
Ref: https://github.com/microsoft/playwright-mcp/issues/39
2025-03-27 07:27:34 -07:00
Pavel Feldman
6ff4500211
chore: use persistent profile by default ( #41 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/29
2025-03-26 15:02:45 -07:00
Simon Knott
bd9c8729ff
browser://console should be single resource ( #34 )
...
Returning one resource per log line is flooding the Claude UI:
<img width="1061" alt="Screenshot 2025-03-19 at 16 01 45"
src="https://github.com/user-attachments/assets/1779374e-6b9d-44d7-b916-c521933e1085 "
/>
Returning one big resource with all lines feels better.
original PR: https://github.com/microsoft/playwright/pull/35276
2025-03-26 16:27:55 +01:00
Pavel Feldman
cd214cb58d
chore: allow for a lax timeout for gha bots
2025-03-25 21:54:38 -07:00
ryo kishida
9f93af3a81
feat(tool): add locator.selectOption()
action ( #25 )
...
Implemented `locator.selectOption`
2025-03-25 21:53:56 -07:00
Pavel Feldman
a392ba2f41
chore: restart browser if page closed manually ( #19 )
...
Fixes https://github.com/microsoft/playwright-mcp/issues/18
2025-03-25 13:05:28 -07:00
Pavel Feldman
852709c026
chore: initial code commit
2025-03-21 11:13:24 -07:00