Commit graph

440 commits

Author SHA1 Message Date
Simon Knott 8db16b2e6b
set frame from outside 2025-01-27 16:44:08 +01:00
Simon Knott 4a4d930de7
remove instance prop 2025-01-27 16:29:39 +01:00
Simon Knott e7e5124edd
refactor 2025-01-27 14:36:17 +01:00
Simon Knott 4d4ca68b70
refactor 2025-01-27 14:36:06 +01:00
Simon Knott 662d3b2ef0
more fallback 2025-01-27 14:35:18 +01:00
Simon Knott d199c51bdf
use fallback 2025-01-27 14:35:00 +01:00
Simon Knott edff9fc11d
call it correlation 2025-01-27 14:33:12 +01:00
Simon Knott 4887ca6750
emit on page, even if we don't know what's the correct one 2025-01-27 14:29:14 +01:00
Simon Knott 694931a44d
test page.route 2025-01-27 14:21:25 +01:00
Simon Knott e4e743cc23
rename a little 2025-01-27 14:15:43 +01:00
Simon Knott f3e0c20f75
inject page info 2025-01-27 14:11:44 +01:00
Simon Knott 26523384f6
fix tests, don't emit on page 2025-01-27 12:50:33 +01:00
Simon Knott b2722c653c
singular until we have a usecase 2025-01-27 12:26:20 +01:00
Simon Knott 27f8be2fe0
revert subscription logic 2025-01-27 12:24:51 +01:00
Simon Knott 4d6a453c52
revert unneeded 2025-01-24 13:22:50 +01:00
Simon Knott 7c598a705a
move route._context 2025-01-24 13:17:43 +01:00
Simon Knott fdad74906e
uninstall 2025-01-24 13:14:06 +01:00
Simon Knott e580a4cca2
move stuff over to page 2025-01-24 13:11:05 +01:00
Simon Knott d6bc3cf3af
rename _request 2025-01-23 15:49:39 +01:00
Simon Knott 1112663f87
more 2025-01-23 15:35:17 +01:00
Simon Knott 7f9c091964
remove .off 2025-01-23 15:31:53 +01:00
Simon Knott 74678855cf
some more 2025-01-23 15:15:49 +01:00
Simon Knott 6f3504d931
feat: MockingProxy 2025-01-20 16:26:53 +01:00
Dmitry Gozman f0a3a15e93
chore: explicitly reset apiZone instead of everything (#34265) 2025-01-10 20:15:05 +00:00
Dmitry Gozman 63329a3471
chore: remove dependency from library on expectZone, straighten csi handling (#34211) 2025-01-07 13:30:04 +00:00
Pavel Feldman ec1d3313c3
Revert "feat(fetch/network): add generic to json method" (#34098) 2024-12-19 12:46:39 -08:00
Volodymyr Momot 94ffbcb9c5
feat(fetch/network): add generic to json method (#34091) 2024-12-19 10:36:02 -08:00
Max Schmitt 65688d623e
chore: update TypeScript to v5.7 (#33994) 2024-12-13 04:52:04 -08:00
Simon Knott 5e8b469c1c
fix(test): hide response.* calls from reports (#33620) 2024-11-18 13:59:40 +01:00
Max Schmitt d8a98a2bf5
test: fix flaky page.pause() tests end up stalling (#33544) 2024-11-11 22:19:58 +01:00
Yury Semikhatsky 50775698ae
fix: parent step for API calls inside waitForEvent callback (#33409) 2024-11-06 17:35:16 -08:00
René fa10bcd5a3
feat(tracing) Adding groups to trace via pw-api (#33081)
Signed-off-by: René <snooz@posteo.de>
Signed-off-by: René <41592183+Snooz82@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-11-05 03:45:37 -08:00
Yury Semikhatsky c66af9c525
chore: make expect timeout field required in the protocol (#33309) 2024-10-25 15:26:41 -07:00
Yury Semikhatsky 1e8884621a
chore: unify toHaveScreenshot error formatting (#33300) 2024-10-25 12:36:39 -07:00
Pavel Feldman 94321fef1c
chore: implement locator.ariaSnapshot (#33125) 2024-10-15 18:47:26 -07:00
Dmitry Gozman 0f2cbdedac
fix(routeWebSocket): do not show in the trace (#32991) 2024-10-08 02:47:24 -07:00
Dmitry Gozman a395fb22c4
feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
Pavel Feldman bcb6860ef5
chore: fix cross browser leak tests (#32843) 2024-09-26 19:33:07 -07:00
Dmitry Gozman a9d5c39d40
chore: address api review for page.forceGarbageCollection (#32824)
- Renamed to `page.requestGC`.
- Added a useful snippet to the docs.

References #32278.

---------

Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-09-26 05:08:33 -07:00
Dmitry Gozman b3a82bef46
feat: do not record route calls in the trace (#32723)
These are represented in the network pane instead.
2024-09-21 10:17:59 -07:00
Pavel Feldman 418d1c0c55
chore: allow starting recorder in traceviewer (#32741) 2024-09-20 15:25:49 -07:00
Dmitry Gozman cdcaa7fab6
feat: routeWebSocket (#32675)
This introduces `WebSocketRoute` class and
`page/context.routeWebSocket()` methods.
2024-09-20 03:20:06 -07:00
Matthew Jee f2a974b045
feat(api): add method to force garbage collection (#32383) 2024-09-13 23:09:36 +02:00
Simon Knott 48c7fb6b06
feat(library): accept FormData in fetch (#32602)
Closes https://github.com/microsoft/playwright/issues/26520 by accepting
`FormData`, which became stable in Node.js in v21.
2024-09-13 13:21:02 +02:00
Max Schmitt e5d6ee5bd8
chore: merge fetch params on server side (#32518)
https://github.com/microsoft/playwright-python/pull/2546#discussion_r1750090592
2024-09-09 22:28:08 +02:00
Yury Semikhatsky f0e13164d7
chore: split firefox and chromium bidi implementations (#32478) 2024-09-05 18:31:56 -07:00
Yury Semikhatsky 9a2c60a77c
chore: identify largest gaps in Bidi API (#32434)
This pull request introduces initial support for the WebDriver BiDi
protocol in Playwright. The primary goal of this PR is not to fully
implement BiDi but to experiment with the current state of the
specification and its implementation. We aim to identify the biggest
gaps and challenges that need to be addressed before considering BiDi as
the main protocol for Playwright.
2024-09-04 11:36:52 -07:00
Yury Semikhatsky 896190edbb
Revert feat(addInitScript): support cjs modules (#32364)
Reverting https://github.com/microsoft/playwright/pull/32282 and
https://github.com/microsoft/playwright/pull/32240.
2024-08-28 15:39:48 -07:00
Pavel Feldman ec681ca78c
chore: pass explicit recorder app factory (#32349) 2024-08-27 20:24:19 -07:00
Dmitry Gozman abe6c04a54
chore: remove noWaitAfter from selectOption (#32283)
This follows removing this option from other methods in v1.46. The two
methods still supporting `noWaitAfter` are `click` and `press`.
2024-08-23 14:50:43 -07:00