53 Commits

Author SHA1 Message Date
Ashraf Ali b34b234713 fix(debug-controller): drop recorded actions when recording session ends (#42458) 2026-09-02 13:28:58 +01:00
Dmitry Gozman 04fb72b4f0 chore(highlight): resolve highlights periodically in HighlightController (#42277) 2026-08-17 22:47:21 +01:00
Dmitry Gozman b6e168a976 chore(recorder): render highlights via the shared element highlight (#42253) 2026-08-17 11:57:44 +01:00
Dmitry Gozman 1299d0f6c4 feat(recorder): record actions by letting page events through naturally (#41902) 2026-07-23 14:51:38 +01:00
Dmitry Gozman 4650ba4b4f chore(recorder): turn preconditionSelector into an expect signal (#41727) 2026-07-11 15:05:33 +01:00
Simon Knott eb9eb48889 feat: support AbortSignal on server-side methods (#41141) 2026-06-30 15:05:17 +02:00
Simon Knott 18af562341 chore(protocol): split channel and dispatcher types (#41321) 2026-06-18 11:11:19 +02:00
Dmitry Gozman 9e45b45ee6 test: move PW_CLOCK handling into test harness (#41214) 2026-06-09 15:48:12 +01:00
Pavel Feldman 09a1261b76 chore: rewrite direct imports (#40102) 2026-04-07 16:00:51 -07:00
Pavel Feldman 9a99e0c8c6 chore: build coreBundle (#40074) 2026-04-06 19:11:29 -07:00
Dmitry Gozman e5cc9f36f9 test: fix electron tests (#38654) 2025-12-29 09:50:41 -08:00
Simon Knott 52766b2bcb Revert debug controller UI additions (#37661) 2025-10-01 13:27:07 +02:00
Simon Knott c923ff5273 chore: emit snapshot when browser closes (#37241) 2025-08-29 15:47:58 +02:00
Simon Knott 93df4d6761 test(debug-controller): ensure ID aligns with browser ID, not dispatcher ID (#37238) 2025-08-29 15:14:56 +02:00
Dmitry Gozman 15a7e7e12e test: fix launchOptions being reset in some test files (#37220) 2025-08-28 17:02:24 +02:00
Simon Knott 78b498cee9 chore(debug controller): add per-browser highlight + close (#37061) 2025-08-28 14:24:22 +02:00
Dmitry Gozman ab4a113b5c test: unflake a few tests (#37200) 2025-08-27 11:19:03 +01:00
Simon Knott cd09d859a9 test: unflake "should pick element" (#37103) 2025-08-19 12:59:28 +02:00
Max Schmitt 9fd6986f8d test: skip debug-controller tests in driver mode (#37090) 2025-08-18 16:10:48 +02:00
Simon Knott f15285fe51 test: unflake browser._launchServer tests (#37063) 2025-08-18 12:11:59 +02:00
Simon Knott 3fdbc06230 chore: browser._launchServer (#37031) 2025-08-15 16:03:11 +02:00
Simon Knott 58cab06527 chore: publish browser list via DebugController (#37027) 2025-08-15 12:55:49 +02:00
Dmitry Gozman 501d9864c0 chore: remove unused envs and protocol methods (#36825) 2025-07-29 13:02:43 +01:00
Dmitry Gozman 145e158e52 test: fix debug-controller.spec (#36616) 2025-07-09 13:33:51 +01:00
Max Schmitt 81c6af0cc6 chore: remove unused 'x-playwright-reuse-context' header (#35414) 2025-03-31 09:28:09 +02:00
Pavel Feldman 0eeba380f2 chore: move crypto to server/util/ (#34759) 2025-02-12 14:43:52 -08:00
Simon Knott 893e7bbf3b chore: add _browserTypes helpers to playwright (#34611) 2025-02-07 15:43:08 +01:00
Pavel Feldman 3a10c32d8a chore: report highlight parse error to debug controller (#33984) 2024-12-13 16:10:59 -08:00
Pavel Feldman 29fd2df124 chore: send aria snapshot to the debug controller (#33969) 2024-12-12 08:21:53 -08:00
Pavel Feldman 44cd1d03cc chore: highlight edited locator while recording (#33632) 2024-11-15 13:43:00 -08:00
Pavel Feldman 4817483ff2 chore: allow highlighting aria template from extension (#33594) 2024-11-13 21:33:38 -08:00
Simon Knott b148ce1ad1 fix(debug controller): highlight selectors in iframe (#33273) 2024-11-04 14:41:06 +01:00
Max Schmitt 6f16b6cc08 chore: unflake 'should record' (#32880) 2024-09-30 20:32:04 +02:00
Max Schmitt dd0b6f7ec5 test: generate debug controller channel (#30018) 2024-03-20 16:56:29 +01:00
Dmitry Gozman 6d85ba1494 fix: remove connectInsteadOfLaunching (#26828) 2023-08-31 15:29:04 -07:00
Pavel Feldman b39fd7283f chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
Dmitry Gozman 835f14d7c9 fix(pause): ignore page.pause on the server (#23417)
Fixes #23051.
2023-06-02 08:32:30 -07:00
Pavel Feldman 6cce93b697 chore: explicit server mode control (#23215) 2023-05-23 10:56:37 -07:00
Dmitry Gozman edfff8cd8c test: run more tests in 'service' mode (#20734) 2023-02-07 18:25:33 -08:00
Dmitry Gozman a9422beecb Revert "chore: respect headless option when reusing browser (#19980)" (#20336)
This reverts commit e674ea217f.
2023-01-24 11:07:53 -08:00
Pavel Feldman d1c161ce99 chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
Dmitry Gozman e674ea217f chore: respect headless option when reusing browser (#19980)
References #19746.
2023-01-10 10:49:53 -08:00
Dmitry Gozman 412c11db20 fix(reuse): make sure all dispose and close sequences are executed (#19572)
- When disposing recursively, only the root dispatcher received
`_dispose()` call, while some dispatchers need `_onDispose()` to clean
things up.
- When reusing the context, pages should be notified with `_onClose()`
so that all client-side waiting promises could reject.

Fixes #19216.
2022-12-19 15:54:53 -08:00
Dmitry Gozman 43a6bf4d45 fix(inspector): support custom test id attribute (#18996)
Fixes #18959.
2022-11-29 11:43:47 -08:00
Dmitry Gozman a7b2b04588 fix(getByRole): name and exact (#18719)
Following the `getByText()` and other methods:

- By default, matching is substring and case-insensitive. Before, it was
only case-insensitive, but not substring.
- With new option `exact: true`, matching is full string and
case-sensitive.
- Matching always normalizes whitespace.
- Codegen generates `exact: false` by default.
- `internal:role` treats `[name="foo"i]` as non-exact match.

Various fixes:
- Updated `getByRole` docs to match the reality.
- Locator generator edge cases.
2022-11-11 15:58:36 -08:00
Pavel Feldman ca2e7ef199 chore: report paused signal to the debug controller clients (#18701) 2022-11-10 12:15:29 -08:00
Pavel Feldman 0355d8618f chore: use provided value for the generated test id (#18631) 2022-11-08 12:04:43 -08:00
Pavel Feldman 67c9624924 chore: send structured codegen info to the debug controller (#18491) 2022-11-01 18:02:14 -07:00
Pavel Feldman 2c3fa1b1ff chore: add explore locator parser (#18429) 2022-10-31 12:55:35 -07:00
Pavel Feldman 3e112193a6 test: fix debug controller tests on firefox (#18361) 2022-10-27 09:19:55 -07:00