384 Commits

Author SHA1 Message Date
Florian Schwalm 59672632a2 fix(client-certificates): reestablish a way to explicitly send no client certificate for an origin (#42547) 2026-09-10 13:55:45 -07:00
Dmitry Gozman aeebee1d29 feat(evaluate): add "world" option to evaluate methods (#42635) 2026-09-09 19:18:40 +01:00
Dmitry Gozman 87ca849649 chore(trace): use a single id for calls and test runner steps (#42430) 2026-09-09 16:39:18 +01:00
Pavel Feldman 4302dbb90f fix(recorder): split showRecorder and startRecording, deliver events per client (#42627) 2026-09-08 18:43:04 -07:00
Dmitry Gozman fab00c007c fix(fetch): preserve node error fields across serialization (#42562) 2026-09-08 20:16:24 +01:00
Yury Semikhatsky 902a864ac6 feat(storage): capture OPFS in storage state (#42248) 2026-09-01 14:57:55 -07:00
Pavel Feldman eca9e03e04 fix(chromium): replay execution contexts when connecting to Android WebView (#42447) 2026-08-28 15:47:40 -07:00
Dmitry Gozman c4479bdc4c chore(recorder): move fill coalescing back to collapseActions (#42442) 2026-08-28 20:59:28 +01:00
Dmitry Gozman 6748802c89 feat(selectors): replace pierceFrames() with frameLocator() (#42395) 2026-08-28 09:59:17 +01:00
Pavel Feldman 17454b035a feat(reporter): introduce TestStep.subtitle, unify step formatting (#42422) 2026-08-27 10:25:27 -07:00
Yury Semikhatsky 5a52607e2b Revert "feat(tracing): allow configuring the screenshots size" (#42411) 2026-08-25 17:14:51 -07:00
Yury Semikhatsky b856094ed5 feat(tracing): allow configuring the screenshots size (#42283) 2026-08-18 08:33:46 -07:00
Pavel Feldman b4e7c87ce4 feat(trace): add action screenshot and aria snapshot events (#42167) 2026-08-09 13:41:31 -07:00
Pavel Feldman ea4ea1f658 feat(mcp): emit structured snapshot in --json responses (#42098) 2026-08-03 15:37:30 -07:00
Dmitry Gozman d7775efb41 feat(selectors): add pierceFrames context option (#42033) 2026-07-29 21:56:26 +01:00
Dmitry Gozman 974edd3feb feat(dialog): add dialogclosed event (#42014) 2026-07-28 16:51:57 +01:00
Dmitry Gozman 9cafa748a2 feat: support multiple HTTP credentials (#41979) 2026-07-24 14:36:05 -07:00
Dmitry Gozman dea59db2de chore(recorder): unify action coalescing and simplify action types (#41958) 2026-07-24 11:41:53 +01:00
Devin Rousso a92a7a3366 Revert "feat(routeFromHar): add interceptAPIRequests option (#41294)" (#41964) 2026-07-23 14:48:29 -06:00
Dmitry Gozman c28b53e624 feat(dashboard): add a debugger actions panel (#41711) 2026-07-23 20:22:49 +01:00
Pavel Feldman f39623b16d feat(addInitScript): allow passing functions as init script arguments (#41921) 2026-07-21 15:44:04 -07:00
Pavel Feldman 6227b649ce Revert "feat(expect): add expect.fn() mock functions (#41884)" (#41906) 2026-07-21 11:03:49 -07:00
Pavel Feldman ecf2e53290 feat(expect): add expect.fn() mock functions with awaited assertions (#41884) 2026-07-21 08:41:41 -07:00
Simon Knott bc97a1306c fix(screencast): acknowledge frames after callbacks (#41898)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-21 15:36:47 +02:00
Pavel Feldman 4e3c4278d2 feat(evaluate): allow passing functions as evaluate arguments (#41801) 2026-07-16 07:30:47 -07:00
Dmitry Gozman eb874fac75 feat(fetch): implement APIResponse.timing() (#41800) 2026-07-15 21:45:27 +01:00
Simon Knott 33173da843 chore(protocol): make timeout a protocol-level field (#41712)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-14 15:44:03 +02:00
Yury Semikhatsky f3114b3e9f feat(screenshot): add webp output format (#41152) 2026-07-09 18:02:10 -07:00
Dmitry Gozman bc92bfe188 chore(protocol): move protocol runtime into packages/protocol (#41612) 2026-07-03 16:15:52 +01:00
Pavel Feldman 33433954c9 chore(aria): remove unused incremental ariaSnapshot track option (#41581) 2026-07-02 11:48:30 -07:00
Kevin Tan d3d436d311 feat(routeFromHar): add interceptAPIRequests option (#41294)
Adds opt-in `interceptAPIRequests` option to `BrowserContext.routeFromHAR` so `page.request.*` / `context.request.*` calls are also served from the HAR file.

API-request lookup is restricted to entries marked `_apiRequest: true` (already written by the HAR recorder), so browser-side recordings are never served to API requests for the same URL.

Fixes <https://github.com/microsoft/playwright/issues/22869>.
2026-06-30 20:14:19 -06:00
Simon Knott 912770bde3 chore(protocol): generate shared structs.d.ts for client and server channels (#41526) 2026-06-30 11:39:15 +02:00
Pavel Feldman 1b3da20a34 feat(actions): add scroll option to opt out of autoscroll (#41433) 2026-06-23 13:27:46 -07:00
Dmitry Gozman b5a45d9811 feat(locator): introduce Locator.waitForFunction() (#41380) 2026-06-23 13:54:07 +01:00
Dmitry Gozman 0beb571f6c feat(webauthn): include credentials in storageState (#41215) 2026-06-19 13:34:32 +01:00
Simon Knott 18af562341 chore(protocol): split channel and dispatcher types (#41321) 2026-06-18 11:11:19 +02:00
Dmitry Gozman befa08af58 chore: remove unused potentiallyClosesScope metainfo flag (#41345) 2026-06-17 17:15:13 +01:00
Dmitry Gozman 41f7b9a0db chore: fixes uncovered by the .NET 1.61 roll (#41266) 2026-06-12 17:22:28 +01:00
Dmitry Gozman f95684a74b Revert "feat(keyboard): add array overload to pressSequentially (#40748)" (#41212) 2026-06-09 14:54:32 +01:00
Dmitry Gozman 3ba155ee28 chore(credentials): remove setUserVerified (#41195) 2026-06-08 09:45:34 -07:00
Simon Knott dcbe13111a feat(screencast): expose frame presentation timestamp on onFrame (#41162) 2026-06-08 08:50:27 +02:00
Dmitry Gozman 7cc4a85b37 chore: throw on Frame.expect / Page.expectScreenshot failure (#40801) 2026-06-05 15:00:25 +01:00
Pavel Feldman 4afdd64a3c chore(browserType): merge connectOverCDP and connectOverCDPTransport (#41014) 2026-05-27 08:05:20 -07:00
Yury Semikhatsky 8f503225f4 feat(browserType): allow passing a ConnectionTransport to connectOverCDP (#40972) 2026-05-22 15:19:05 -07:00
Dmitry Gozman b949df5b6d feat(fetch): expose securityDetails() and serverAddr() on APIResponse (#40932) 2026-05-21 10:47:47 +01:00
Pavel Feldman 83ef991c9f feat(screencast): animate a mouse cursor between action points (#40916) 2026-05-19 15:17:24 -07:00
Sebastien Tardif 7f1340670a feat(keyboard): add array overload to pressSequentially (#40748)
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-05-18 11:19:38 +01:00
Pavel Feldman 72bbd1d964 feat(credentials): add context.credentials WebAuthn virtual authenticator (#40849) 2026-05-16 07:29:53 -07:00
Dmitry Gozman 409d6d0d9b Revert "chore(protocol): auto-serialize SerializedValue in validators (#40798)" (#40858) 2026-05-15 16:30:17 +01:00
Dmitry Gozman e67f2a3f9b chore(protocol): auto-serialize SerializedValue in validators (#40798) 2026-05-15 11:18:40 +01:00